Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8096558

[Packager] Secondary launchers are not created on MacOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 8u40
    • deploy
    • MacOS 10.9

      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.

            shemnon Danno Ferrin (Inactive)
            dzinkevi Dmitry Zinkevich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: