-
Bug
-
Resolution: Fixed
-
P3
-
8u20
Suppose some ant build script with nested within <fx:deploy/> <fx:platform/> argument like this:
<fx:platform>
<fx:jvmuserarg name="-Dsqe.key1=" value="value1"/>
<fx:jvmuserarg name="-Dsqe.key2=" value="value2"/>
<fx:property name="sqe.aba.caba" value="dabacaba"/>
<fx:jvmarg value="-Dsqe.foo.bar=baz"/>
<fx:jvmarg value="-Dsqe.qux.corge=grault"/>
</fx:platform>
It seems like none of these options are applied. Consides some app, which shows all the JVM properties, which keys starts with "sqe". When this build.xml is applied to this app, not one of these options is shown.
Log:
19:33 [/tmp] $ ant
Buildfile: /tmp/build.xml
fx-deploy:
No base JDK. Package will use system JRE.
Creating app bundle: /tmp/testBundlerWorkDir/bundles/App1
BUILD SUCCESSFUL
Total time: 1 second
19:33 [/tmp] $ ./testBundlerWorkDir/bundles/App1/App1
Hello World initialized!
-Dapp.preferences.id=testapp
PASS_1
JREVersion: 1.8.0_20-ea-b13
19:36 [/tmp] $ java -Dsqe.foo.bar=baz -cp `path_separate.py ./testBundlerWorkDir/jars/*.jar` testapp.App1
Hello World initialized!
-Dsqe.foo.bar=baz
PASS_1
JREVersion: 1.8.0_20-ea-b13
<fx:platform>
<fx:jvmuserarg name="-Dsqe.key1=" value="value1"/>
<fx:jvmuserarg name="-Dsqe.key2=" value="value2"/>
<fx:property name="sqe.aba.caba" value="dabacaba"/>
<fx:jvmarg value="-Dsqe.foo.bar=baz"/>
<fx:jvmarg value="-Dsqe.qux.corge=grault"/>
</fx:platform>
It seems like none of these options are applied. Consides some app, which shows all the JVM properties, which keys starts with "sqe". When this build.xml is applied to this app, not one of these options is shown.
Log:
19:33 [/tmp] $ ant
Buildfile: /tmp/build.xml
fx-deploy:
No base JDK. Package will use system JRE.
Creating app bundle: /tmp/testBundlerWorkDir/bundles/App1
BUILD SUCCESSFUL
Total time: 1 second
19:33 [/tmp] $ ./testBundlerWorkDir/bundles/App1/App1
Hello World initialized!
-Dapp.preferences.id=testapp
PASS_1
JREVersion: 1.8.0_20-ea-b13
19:36 [/tmp] $ java -Dsqe.foo.bar=baz -cp `path_separate.py ./testBundlerWorkDir/jars/*.jar` testapp.App1
Hello World initialized!
-Dsqe.foo.bar=baz
PASS_1
JREVersion: 1.8.0_20-ea-b13
- blocks
-
JDK-8094676 [Bundlers] mac bundlers don't set app.preferences.id when running bundled application
- Resolved