HHH-6115 - jaxb generation should follow directory pattern

This commit is contained in:
Steve Ebersole 2011-04-11 17:43:43 -05:00
parent 3853152782
commit 9d93e1188e
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ manifest.mainAttributes(
sourceSets.main {
originalJavaSrcDirs = java.srcDirs
jaxbTargetDir = file( "${buildDir}/generated-src/jaxb" )
jaxbTargetDir = file( "${buildDir}/generated-src/jaxb/main" )
java.srcDir jaxbTargetDir
}
@ -47,7 +47,7 @@ ideaModule {
}
task jaxb << {
jaxbTargetDir = file( "${buildDir}/generated-src/jaxb" )
jaxbTargetDir = file( "${buildDir}/generated-src/jaxb/main" )
jaxbTargetDir.mkdirs()
ant.taskdef(name: 'xjc', classname: 'com.sun.tools.xjc.XJCTask', classpath: configurations.jaxb.asPath)