JDK-8090293 : [Packager] Ant bundler fails to create a bundler when a Jigsaw JDK home is provided
  • Type: Bug
  • Component: deploy
  • Sub-Component: packager
  • Affected Version: 9-repo-jigsaw
  • Priority: P3
  • Status: Resolved
  • Resolution: Cannot Reproduce
  • Submitted: 2014-11-27
  • Updated: 2016-12-05
  • Resolved: 2016-12-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Relates :  
Description
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]: 

Comments
RULE com.oracle.appbundlers.tests.functionality.RuntimeTest::runTest$deb-ant Exception java.io.IOException: Process finished with not zero exit code RULE com.oracle.appbundlers.tests.functionality.RuntimeTest::runTest$linux.app-ant Exception java.io.IOException: Process finished with not zero exit code RULE com.oracle.appbundlers.tests.functionality.RuntimeTest::runTest$rpm-ant Exception java.io.IOException: Process finished with not zero exit code
27-11-2014