Static weaving classpath is tuned to conform with the system dependent path separator
This commit is contained in:
committed by
Aleksandar Vidakovic
parent
e277c85c69
commit
2e8f018132
@@ -38,8 +38,8 @@ compileJava.doLast {
|
|||||||
description = 'Performs EclipseLink static weaving of entity classes'
|
description = 'Performs EclipseLink static weaving of entity classes'
|
||||||
def target = source
|
def target = source
|
||||||
main 'org.eclipse.persistence.tools.weaving.jpa.StaticWeave'
|
main 'org.eclipse.persistence.tools.weaving.jpa.StaticWeave'
|
||||||
args '-persistenceinfo', source, '-classpath', configurations.runtimeClasspath, source, target
|
args '-persistenceinfo', source, '-classpath', sourceSets.main.runtimeClasspath, source, target
|
||||||
classpath configurations.runtimeClasspath
|
classpath sourceSets.main.runtimeClasspath
|
||||||
}
|
}
|
||||||
delete {
|
delete {
|
||||||
delete "${source}/META-INF/persistence.xml"
|
delete "${source}/META-INF/persistence.xml"
|
||||||
|
|||||||
Reference in New Issue
Block a user