build.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project xmlns:fx="javafx:com.sun.javafx.tools.ant" default="fx-deploy">
<taskdef classpath="/Users/nelson/Projects/appBundlerTests-8u40/lib/ant-javafx.jar" resource="com/sun/javafx/tools/ant/antlib.xml" uri="javafx:com.sun.javafx.tools.ant"/>
<target name="fx-deploy">
<fx:deploy nativeBundles="image" outdir="/var/folders/vy/g1yq_fwx2fs5vkfc96ndwdm40000gp/T/testBundlerWorkDir8027088421667690081" outfile="test" verbose="true">
<fx:resources>
<fx:fileset dir="/var/folders/vy/g1yq_fwx2fs5vkfc96ndwdm40000gp/T/testBundlerWorkDir8027088421667690081/jars" includes="Util.jar,testFxAppWithUtil.jar"/>
</fx:resources>
<fx:platform/>
<fx:preferences/>
<fx:application name="SQE-TEST-APP"/>
<fx:info/>
<fx:secondaryLauncher>
<fx:bundleArgument arg="applicationClass" value="testapp.App1"/>
<fx:bundleArgument arg="name" value="app2"/>
<fx:argument>app2</fx:argument>
</fx:secondaryLauncher>
<fx:secondaryLauncher>
<fx:bundleArgument arg="applicationClass" value="testapp.App2"/>
<fx:bundleArgument arg="name" value="app3"/>
<fx:argument>app3</fx:argument>
</fx:secondaryLauncher>
<fx:bundleArgument arg="mainJar" value="testFxAppWithUtil.jar"/>
<fx:bundleArgument arg="classpath" value="testFxAppWithUtil.jar:Util.jar"/>
</fx:deploy>
</target>
</project>
Java API is not working either.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project xmlns:fx="javafx:com.sun.javafx.tools.ant" default="fx-deploy">
<taskdef classpath="/Users/nelson/Projects/appBundlerTests-8u40/lib/ant-javafx.jar" resource="com/sun/javafx/tools/ant/antlib.xml" uri="javafx:com.sun.javafx.tools.ant"/>
<target name="fx-deploy">
<fx:deploy nativeBundles="image" outdir="/var/folders/vy/g1yq_fwx2fs5vkfc96ndwdm40000gp/T/testBundlerWorkDir8027088421667690081" outfile="test" verbose="true">
<fx:resources>
<fx:fileset dir="/var/folders/vy/g1yq_fwx2fs5vkfc96ndwdm40000gp/T/testBundlerWorkDir8027088421667690081/jars" includes="Util.jar,testFxAppWithUtil.jar"/>
</fx:resources>
<fx:platform/>
<fx:preferences/>
<fx:application name="SQE-TEST-APP"/>
<fx:info/>
<fx:secondaryLauncher>
<fx:bundleArgument arg="applicationClass" value="testapp.App1"/>
<fx:bundleArgument arg="name" value="app2"/>
<fx:argument>app2</fx:argument>
</fx:secondaryLauncher>
<fx:secondaryLauncher>
<fx:bundleArgument arg="applicationClass" value="testapp.App2"/>
<fx:bundleArgument arg="name" value="app3"/>
<fx:argument>app3</fx:argument>
</fx:secondaryLauncher>
<fx:bundleArgument arg="mainJar" value="testFxAppWithUtil.jar"/>
<fx:bundleArgument arg="classpath" value="testFxAppWithUtil.jar:Util.jar"/>
</fx:deploy>
</target>
</project>
Java API is not working either.