mirror of
https://github.com/corda/corda.git
synced 2024-12-28 00:38:55 +00:00
Ensure JavaPackager task finds custom resources on the classpath.
This commit is contained in:
parent
8b77068eb0
commit
8946ef830e
@ -125,11 +125,6 @@ distributions {
|
||||
task javapackage {
|
||||
|
||||
doLast {
|
||||
ant.taskdef(
|
||||
resource: 'com/sun/javafx/tools/ant/antlib.xml',
|
||||
classpath: "${pkg_source}:${java_home}/../lib/ant-javafx.jar"
|
||||
)
|
||||
|
||||
ant.delete(dir: "${pkg_source}")
|
||||
ant.delete(dir: 'build/exedir')
|
||||
|
||||
@ -142,6 +137,11 @@ task javapackage {
|
||||
}
|
||||
}
|
||||
|
||||
ant.taskdef(
|
||||
resource: 'com/sun/javafx/tools/ant/antlib.xml',
|
||||
classpath: "${pkg_source}:${java_home}/../lib/ant-javafx.jar"
|
||||
)
|
||||
|
||||
ant.deploy(nativeBundles: 'rpm', outdir: 'build/exedir', outfile: 'DemoBench', verbose: 'true') {
|
||||
application(name: 'DemoBench', version: "$pkg_version", mainClass: "$mainClassName")
|
||||
resources {
|
||||
|
Loading…
Reference in New Issue
Block a user