@@ -39,7 +39,7 @@ task genCastor {
39
39
castor(types : " j2" , warnings : false , file : orderSchema, todir : sourcesDir,
40
40
package : " org.springframework.oxm.castor" , properties : castorBuilderProperties)
41
41
42
- javac(destdir : classesDir, source : 1.5 , target : 1.5 , debug : true ,
42
+ javac(destdir : classesDir, source : 1.6 , target : 1.6 , debug : true ,
43
43
debugLevel : " lines,vars,source" , classpath : configurations. castor. asPath) {
44
44
src(path : sourcesDir)
45
45
include(name : " **/*.java" )
@@ -74,7 +74,7 @@ task genJaxb {
74
74
produces(dir : sourcesDir, includes : " **/*.java" )
75
75
}
76
76
77
- javac(destdir : classesDir, source : 1.5 , target : 1.5 , debug : true ,
77
+ javac(destdir : classesDir, source : 1.6 , target : 1.6 , debug : true ,
78
78
debugLevel : " lines,vars,source" ,
79
79
classpath : configurations. castor. asPath) {
80
80
src(path : sourcesDir)
@@ -111,20 +111,21 @@ task genXmlbeans {
111
111
}
112
112
113
113
// add jibx binding to the normal test compilation process
114
- compileTestJava {
115
- def bindingXml = " ${ projectDir} /src/test/resources/org/springframework/oxm/jibx/binding.xml"
116
-
117
- doLast() {
118
- project. ant {
119
- taskdef(name : " jibx" ,
120
- classname : " org.jibx.binding.ant.CompileTask" ,
121
- classpath : configurations. jibx. asPath)
122
-
123
- jibx(verbose : true , load : true , binding : bindingXml) {
124
- classpathset(dir : sourceSets. test. output. classesDir) {
125
- include(name : " **/jibx/**/*" )
126
- }
127
- }
128
- }
129
- }
130
- }
114
+ // INCOMPATIBLE WITH OPENJDK 8 b89+
115
+ // compileTestJava {
116
+ // def bindingXml = "${projectDir}/src/test/resources/org/springframework/oxm/jibx/binding.xml"
117
+ //
118
+ // doLast() {
119
+ // project.ant {
120
+ // taskdef(name: "jibx",
121
+ // classname: "org.jibx.binding.ant.CompileTask",
122
+ // classpath: configurations.jibx.asPath)
123
+ //
124
+ // jibx(verbose: true, load: true, binding: bindingXml) {
125
+ // classpathset(dir: sourceSets.test.output.classesDir) {
126
+ // include(name: "**/jibx/**/*")
127
+ // }
128
+ // }
129
+ // }
130
+ // }
131
+ // }
0 commit comments