Enable Jibx binding with TestGroup.CUSTOM_COMPILATION

Previously the Jibx binding was commented out which caused failures when
using the TestGroup.CUSTOM_COMPILATION

Now the Jibx bindings are enabled when the CUSTOM_COMPILATION is enabled.

Issue: SPR-10558
This commit is contained in:
Rob Winch 2013-07-24 10:17:09 -05:00
parent f7c0795c1a
commit b255045541
1 changed files with 20 additions and 17 deletions

View File

@ -112,20 +112,23 @@ task genXmlbeans {
// add jibx binding to the normal test compilation process // add jibx binding to the normal test compilation process
// INCOMPATIBLE WITH OPENJDK 8 b89+ // INCOMPATIBLE WITH OPENJDK 8 b89+
// compileTestJava { def jibxEnabled = project.properties.get("testGroups")?.toLowerCase()?.split(",")?.contains("custom_compilation")
// def bindingXml = "${projectDir}/src/test/resources/org/springframework/oxm/jibx/binding.xml" if(jibxEnabled) {
// compileTestJava {
// doLast() { def bindingXml = "${projectDir}/src/test/resources/org/springframework/oxm/jibx/binding.xml"
// project.ant {
// taskdef(name: "jibx", doLast() {
// classname: "org.jibx.binding.ant.CompileTask", project.ant {
// classpath: configurations.jibx.asPath) taskdef(name: "jibx",
// classname: "org.jibx.binding.ant.CompileTask",
// jibx(verbose: true, load: true, binding: bindingXml) { classpath: configurations.jibx.asPath)
// classpathset(dir: sourceSets.test.output.classesDir) {
// include(name: "**/jibx/**/*") jibx(verbose: true, load: true, binding: bindingXml) {
// } classpathset(dir: sourceSets.test.output.classesDir) {
// } include(name: "**/jibx/**/*")
// } }
// } }
// } }
}
}
}