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'
|
||||
def target = source
|
||||
main 'org.eclipse.persistence.tools.weaving.jpa.StaticWeave'
|
||||
args '-persistenceinfo', source, '-classpath', configurations.runtimeClasspath, source, target
|
||||
classpath configurations.runtimeClasspath
|
||||
args '-persistenceinfo', source, '-classpath', sourceSets.main.runtimeClasspath, source, target
|
||||
classpath sourceSets.main.runtimeClasspath
|
||||
}
|
||||
delete {
|
||||
delete "${source}/META-INF/persistence.xml"
|
||||
|
||||
Reference in New Issue
Block a user