This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Java Store - Combining multiple JAR files in "dist" directory into one JAR for Publication on Java Store | ||
---|---|---|---|
Product: | projects | Reporter: | stephensr <stephensr> |
Component: | Libraries | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | Macintosh | ||
OS: | All | ||
URL: | http://java.sun.com/warehouse/reference/release_notes/index.jsp | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
stephensr
2009-06-14 21:01:20 UTC
Either the release notes for Java Store are incorrect, or something is wrong with the FX build-impl.xml. I don't see any relation with JavaFX. BTW JavaFX would not allow such Manifest manipulation, the binaries must be always produced by Javafxpackager tool and main class does not correspond to the user main JavaFX script. I think you just did not follow the instructions from the release notes carefully enough. Anyway those instructions are too complicated and not advisable; try just this in your build.xml: <target name="-post-jar"> <mkdir dir="${dist.dir}/merged"/> <jar destfile="${dist.dir}/merged/${ant.project.name}.jar"> <zipgroupfileset dir="dist" includes="**/*.jar" excludes="merged/"/> <manifest> <attribute name="Main-Class" value="${main.class}"/> </manifest> </jar> </target> *** This issue has been marked as a duplicate of 25376 *** I sent a note to webmasters about the release notes for the Java Store. Perhaps it will be considered, I don't know. |