Product Version: NetBeans IDE 6.0.1 (Build 200801231200)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; MS932; en (nb)
Build JNLP Application fails in ml build only on Windows. It didn't happen on English NetBeans 6.0
and ML NetBeans 5.5.1, also it works in other platform. I verified Solaris and Linux work fine.
1. Start NB
2. Create sample app of NetBeans module e.g. Paint App
3. Run to run "Build JNLP Application"
It fails with the following error.
Signing JAR: C:\Program Files\NetBeans 6.0.1\platform7\core\locale\core_pt_BR.jar to C:\Documents and
Documents\NetBeansProjects\PaintApp2\build\jnlp\netbeans\org-netbeans-core-startup\locale\core_pt_BR.jar as jnlp
jarsigner: [can not create] : C:\Documents and Settings\katakai\My
[enter password for keystore:]
C:\Program Files\NetBeans 6.0.1\harness\suite.xml:342: The following error occurred while executing this line:
C:\Program Files\NetBeans 6.0.1\harness\jnlp.xml:172: jarsigner returned: 1
BUILD FAILED (total time: 3 seconds)
I think it will also fail on English environment, so it's not just ml issue, it will be critical for all developer.
Can anyone try it on *pure* English environment? I tried it with --locale en option on Japanese Windows.
Probably it will work if you manually create the directory
C:\Documents and Settings\katakai\My
Try that and let me know if it works.
removing the i18n from summary since happens even in en locale on windows
when using ml release - in this experiment the error was on the _ja.jar file
rather than pt_BR one.
Will route to QE team to see if this is viewed as showstopper for 6.0.1
since this is filed as p1.
really painfull workaround - add the locale directory to every directory where the build fails -> downgrading to P2 (not
stopper for 6.0.1) but the fix should be provided in the patch1 for the 6.0.1
Jesse, please fix in trunk asap
using patched harness.jar on windows, en xp and using ja regional settings also:
many jars appear to be built and signed, both en ones and localized ones;
the build stops with attached error message on not finding org-jdesktop-layout.jar file,
so its not known if all jars are built since there might be some needed
to be after that one.
Comment 18Marian Mirilovic
2008-02-11 12:57:41 UTC
*** Issue 127105 has been marked as a duplicate of this issue. ***
Comment 19Karthikeyan Rajeswaran
2008-02-11 21:06:50 UTC
The fix has been ported into the release601_fixes branch.
Checking in antsrc/org/netbeans/nbbuild/MakeJNLP.java;
/cvs/nbbuild/antsrc/org/netbeans/nbbuild/Attic/MakeJNLP.java,v <-- MakeJNLP.java
new revision: 184.108.40.206; previous revision: 1.27