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.

Bug 43266 - Cannot build valid NBM
Summary: Cannot build valid NBM
Status: CLOSED FIXED
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: nbbuild-issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-14 11:57 UTC by Jiri Skrivanek
Modified: 2006-03-24 10:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2004-05-14 11:57:43 UTC
I am not able to build a valid NBM file. The Info
folder is always missing. I do the following (for
example):

cd nb_all/nbbuild
ant all-ant
cd nb_all/ant
ant nbm

There is en error message at the end of the build:
 
  [makenbm] Not signing NBM file
D:\Development\cvs\yyy\ant\build\org-apache-tools-ant-mod
ule.nbm; no stored-key password provided or
keystore (D:\Development\cvs\yyy\ant\${keystor
e}) doesn't exist

The file build/org-apache-tools-ant-module.nbm is
generated successfully but Info folder is missing.

Tested on WindowsXP, ant1.6.1, JDK1.5.0-b36.
Comment 1 Jesse Glick 2004-05-14 21:13:01 UTC
Works fine for me.

The message you quote is harmless; just means it will be unsigned.
Comment 2 Jiri Skrivanek 2004-05-17 08:08:59 UTC
For me it works only on unix. Not on Windows.
Comment 3 Jiri Skrivanek 2004-05-17 09:34:00 UTC
The following patch works fine for me:

Index: MakeNBM.java
===================================================================
RCS file: /cvs/nbbuild/antsrc/org/netbeans/nbbuild/MakeNBM.java,v
retrieving revision 1.51
diff -r1.51 MakeNBM.java
549,550c549
<         infoXML.setDir( new File("/") );
<         infoXML.setIncludes( infofile.getAbsolutePath().substring(1) );
---
>         infoXML.setFile(infofile);
Comment 4 Michal Zlamal 2004-05-17 15:08:34 UTC
Checking in antsrc/org/netbeans/nbbuild/MakeNBM.java;
/cvs/nbbuild/antsrc/org/netbeans/nbbuild/MakeNBM.java,v  <--  MakeNBM.
java
new revision: 1.52; previous revision: 1.51
done
Processing log script arguments...
Mailing the commit message to cvs@nbbuild.netbeans.org (from 
mzlamal@netbeans.org)
Comment 5 Jiri Skrivanek 2004-05-18 07:10:41 UTC
Verified.