-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P2
-
Affects Version/s: 7u6
-
Component/s: deploy
When building JFX on windows with the following ant task I am seeing an error. I am able to launch the application via script but not via exe.
<fx:application id="celerDeployApp"
name="${application.title}"
mainClass="${main.class.name}"/>
<!--<fx:info id="inforef" title="${application.title}" vendor="${application.vendor}" >
<fx:icon href="${src.dir}/main/resources/icon_files/application.icns" kind="shortcut"
width="32" height="32" depth="8"/>
</fx:info>-->
<fx:platform id="platforminfo" javafx="2.2">
<fx:jvmarg value="${jvm.package.args}"/>
</fx:platform>
<fx:resources id="deployRes">
<fx:fileset dir="${dist.dir}" includes="**/*.jar" />
<fx:fileset dir="${lib.dir}/jar" includes="**/*.jar" excludes="**-sources*" />
</fx:resources>
<fx:deploy nativeBundles="all" verbose="true" outdir="${dist.dir}/bundles" embedJNLP="true" outfile="${application.title}">
<fx:application refId="celerDeployApp"/>
<fx:resources refid="deployRes"/>
<fx:platform refid="platforminfo"/>
<!--<fx:info refid="inforef" />-->
</fx:deploy>
<fx:application id="celerDeployApp"
name="${application.title}"
mainClass="${main.class.name}"/>
<!--<fx:info id="inforef" title="${application.title}" vendor="${application.vendor}" >
<fx:icon href="${src.dir}/main/resources/icon_files/application.icns" kind="shortcut"
width="32" height="32" depth="8"/>
</fx:info>-->
<fx:platform id="platforminfo" javafx="2.2">
<fx:jvmarg value="${jvm.package.args}"/>
</fx:platform>
<fx:resources id="deployRes">
<fx:fileset dir="${dist.dir}" includes="**/*.jar" />
<fx:fileset dir="${lib.dir}/jar" includes="**/*.jar" excludes="**-sources*" />
</fx:resources>
<fx:deploy nativeBundles="all" verbose="true" outdir="${dist.dir}/bundles" embedJNLP="true" outfile="${application.title}">
<fx:application refId="celerDeployApp"/>
<fx:resources refid="deployRes"/>
<fx:platform refid="platforminfo"/>
<!--<fx:info refid="inforef" />-->
</fx:deploy>