HHH-13656 Can not build and run test on Eclipse IDE

Eclipse windows
This commit is contained in:
hailtondecastro 2019-10-30 15:20:34 -03:00 committed by Steve Ebersole
parent 0f859e7bb4
commit 85f129daeb
1 changed files with 15 additions and 6 deletions

View File

@ -229,14 +229,23 @@ eclipse {
} else { } else {
stringAttribute( key: 'org.eclipse.ui.externaltools.ATTR_LOCATION', value: file('../gradlew').absolutePath ) stringAttribute( key: 'org.eclipse.ui.externaltools.ATTR_LOCATION', value: file('../gradlew').absolutePath )
} }
booleanAttribute( key:'org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND', value: false ) booleanAttribute( key: 'org.eclipse.debug.core.ATTR_REFRESH_RECURSIVE', value: false )
stringAttribute(
key: 'org.eclipse.debug.core.ATTR_REFRESH_SCOPE',
value: '\${working_set:<?xml version="1.0" encoding="UTF-8"?>\n' +
'<resources>\n' +
'<item path="/' + "${project.name}" + '/src/test/bundles" type="2"/>\n' +
'<item path="/' + "${project.name}" + '/src/test/resources" type="2"/>\n' +
'</resources>}'
)
booleanAttribute( key: 'org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND', value: false )
stringAttribute( stringAttribute(
key: 'org.eclipse.ui.externaltools.ATTR_BUILD_SCOPE', key: 'org.eclipse.ui.externaltools.ATTR_BUILD_SCOPE',
value: '\${working_set:<?xml version="1.0" encoding="UTF-8"?> \ value: '\${working_set:<?xml version="1.0" encoding="UTF-8"?>\n' +
<resources> \ '<resources>\n' +
<item path="/'+"${project.name}"+'/src/test/bundles" type="2"/> \ '<item path="/' + "${project.name}" + '/src/test/bundles" type="2"/>\n' +
<item path="/'+"${project.name}"+'/src/test/resources" type="2"/> \ '<item path="/' + "${project.name}" + '/src/test/resources" type="2"/>\n' +
</resources>}' '</resources>}'
) )
stringAttribute( key: 'org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS', value: 'incremental,auto,' ) stringAttribute( key: 'org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS', value: 'incremental,auto,' )
stringAttribute( key: 'org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS', value: 'hibernate-core:processTestResources --no-daemon' ) stringAttribute( key: 'org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS', value: 'hibernate-core:processTestResources --no-daemon' )