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.
This happens for Ubuntu netbeans5.5 package: 1. install just English IDE, not ja,zh_CH and pt_BR (You can try this on Windows/Solaris. After you install NetBeans, please remove localized jar files from installation) 2. start IDE 3. create PaitApp sample project from new project wizard 4. Try "Build JNLP Application" It causes an error like Signing JAR: /usr/share/netbeans/5.5/platform6/core/locale/core_pt_BR.jar jarsigner: unable to open jar file: /usr/share/netbeans/5.5/platform6/core/locale/core_pt_BR.jar /usr/share/netbeans/5.5/harness/suite.xml:194: The following error occurred while executing this line: /usr/share/netbeans/5.5/harness/jnlp.xml:126: exec returned: 1 BUILD FAILED (total time: 2 seconds)
It is for latest 5.5-2 package which is currently available from "deb http://download.java.net/ubuntu/ feisty/". See http://blogs.sun.com/tmarble/entry/netbeans_in_ubuntu to find out how to install it.
If localized jars are installed, arent there some data written to product dir that notes about localized files, so that it might be expected if the files are removed ? is this when running in other locale or only in en locale ? ken.frank@sun.com
I know where is the problem, I'll fix it by ignoring missing files in locale/* directories.
"#103301: Ignoring missing localization files during JNLP packaging" Checking in nbbuild/antsrc/org/netbeans/nbbuild/MakeJNLP.java; /cvs/nbbuild/antsrc/org/netbeans/nbbuild/MakeJNLP.java,v <-- MakeJNLP.java new revision: 1.23; previous revision: 1.22 done Checking in nbbuild/test/unit/src/org/netbeans/nbbuild/MakeJNLPTest.java; /cvs/nbbuild/test/unit/src/org/netbeans/nbbuild/MakeJNLPTest.java,v <-- MakeJNLPTest.java new revision: 1.17; previous revision: 1.16 done Checking in apisupport/project/test/unit/src/org/netbeans/modules/apisupport/project/jnlp/GenerateJNLPApplicationTest.java; /cvs/apisupport/project/test/unit/src/org/netbeans/modules/apisupport/project/jnlp/GenerateJNLPApplicationTest.java,v <-- GenerateJNLPApplicationTest.java new revision: 1.22; previous revision: 1.21
(Sorry to rmi - Firefox too fast.) rmichalsky's recent http://hg.netbeans.org/core-main/rev/9504e123ce36 makes GenerateJNLPApplicationTest.testBuildJNLPWhenLocalizedFilesAreMissing fail for me: Finished ok expected:<0> but was:<1>
Integrated into 'main-golden', available in NB_Trunk_Production #310 build Changeset: http://hg.netbeans.org/main/rev/9504e123ce36 User: Richard Michalsky <rmichalsky@netbeans.org> Log: #61014: GenerateJNLPApplicationTest + ignoring missing locale files in VerifyJNLP (see #103301)
Strange, that line failed for me without changes to VerifyJNLP.java. Discussed with Jarda who suggested that validation should skip missing localizing files as well. Perhaps Linux-Win difference (I fixed two things in the test that obviously worked on Linux but not on Win)? What is the reason of the task failure?