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 11804 - Make 'nbm' target create an unsigned NBM by default
Summary: Make 'nbm' target create an unsigned NBM by default
Status: RESOLVED FIXED
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: rnovak
URL:
Keywords:
: 12621 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-04-27 10:24 UTC by Jesse Glick
Modified: 2002-03-13 16:44 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2001-04-27 10:24:42 UTC
Currently when running the 'nbm' target in a module build script, if you do not
wish to sign the NBM (e.g. because you do not have the secret key) you must know
to pass -Dstorepass=\? to suppress signing which is not obvious. (The MakeNBM
task recognizes this password specially as meaning "do not try to sign the
NBM".)

Suggest that every build script with an 'nbm' target begin this target with a
default:

<target name="nbm" depends="netbeans">
    <property name="storepass" value="?"/>
    <makenbm ....>
</target>

Then module developers who simply type "ant -f mymodule/build.xml nbm" will get
an unsigned NBM, enough to test installation etc. If you pass the correct
keystore location and storage password, it will still be signed.

Also suggest nbbuild.netbeans.org web pages be updated to recommend this
property definition in the beginning of every 'nbm' target. Also the template
apisupport/src/org/netbeans/modules/apisupport/ant/AntScript.xml_ should be
updated to match.
Comment 1 Jan Chalupa 2001-05-06 14:14:36 UTC
Target milestone -> 3.3
Comment 2 Jesse Glick 2001-06-19 21:55:21 UTC
*** Issue 12621 has been marked as a duplicate of this issue. ***
Comment 3 Michal Zlamal 2002-03-13 16:44:15 UTC
I'm checking the existence of storekey file - if there is no file I do not 
sign.