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

This reverts commit 85f129daeb.
This commit is contained in:
Steve Ebersole 2019-11-08 06:50:38 -06:00
parent 3cb6e137bf
commit 2cc517e349
1 changed files with 6 additions and 15 deletions

View File

@ -236,23 +236,14 @@ eclipse {
} else {
stringAttribute( key: 'org.eclipse.ui.externaltools.ATTR_LOCATION', value: file('../gradlew').absolutePath )
}
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(
key: 'org.eclipse.ui.externaltools.ATTR_BUILD_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>}'
value: '\${working_set:<?xml version="1.0" encoding="UTF-8"?> \
<resources> \
<item path="/'+"${project.name}"+'/src/test/bundles" type="2"/> \
<item path="/'+"${project.name}"+'/src/test/resources" type="2"/> \
</resources>}'
)
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' )