mirror of
https://github.com/corda/corda.git
synced 2024-12-29 09:18:58 +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 {
|
task javapackage {
|
||||||
|
|
||||||
doLast {
|
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: "${pkg_source}")
|
||||||
ant.delete(dir: 'build/exedir')
|
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') {
|
ant.deploy(nativeBundles: 'rpm', outdir: 'build/exedir', outfile: 'DemoBench', verbose: 'true') {
|
||||||
application(name: 'DemoBench', version: "$pkg_version", mainClass: "$mainClassName")
|
application(name: 'DemoBench', version: "$pkg_version", mainClass: "$mainClassName")
|
||||||
resources {
|
resources {
|
||||||
|
Loading…
Reference in New Issue
Block a user