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: | When building jnlp in IDE installed from en packages localized jars are required | ||
---|---|---|---|
Product: | apisupport | Reporter: | mslama <mslama> |
Component: | Harness | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | jf4jbug, jglick, kfrank, rmichalsky |
Priority: | P2 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
mslama
2007-05-04 09:55:09 UTC
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? |