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

[Packager] Ant bundler fails to create a bundler when a Jigsaw JDK home is provided

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 9
    • 9-repo-jigsaw
    • deploy
    • Ubuntu 12.04 x64, Jigsaw

      build.xml and ant output provided.

      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <project xmlns:fx="javafx:com.sun.javafx.tools.ant" default="fx-deploy">
          <taskdef classpath="/home/test/Jigsaw/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="deb" outdir="/tmp/testBundlerWorkDir879540946637222684" outfile="test" verbose="true">
                  <fx:platform baseDir="/home/test/Jigsaw/Jigsaw-JDK"/>
                  <fx:resources>
                      <fx:fileset dir="/tmp/testBundlerWorkDir879540946637222684/jars" includes="testFxAppWithUtil.jar,Util.jar"/>
                  </fx:resources>
                  <fx:preferences/>
                  <fx:application/>
                  <fx:info/>
                  <fx:bundleArgument arg="mainJar" value="testFxAppWithUtil.jar"/>
                  <fx:bundleArgument arg="classpath" value="testFxAppWithUtil.jar:Util.jar"/>
              </fx:deploy>
          </target>
      </project>


      Running command :
      "ant" "-f" "/tmp/build.xml"
      [start time: 2014-11-26T04:36:21.693]
      [STDOUT]: Buildfile: /tmp/build.xml
      [STDOUT]:
      [STDOUT]: fx-deploy:
      [STDERR]:
      [STDERR]: BUILD FAILED
      [STDERR]: /tmp/build.xml:5: Can not find JDK artifacts in specified location: /home/test/Jigsaw/Jigsaw-JDK
      [STDERR]:

            cbensen Chris Bensen (Inactive)
            dzinkevi Dmitry Zinkevich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: