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 46570 - <makenbm> ignores module parameter
Summary: <makenbm> ignores module parameter
Status: RESOLVED WONTFIX
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 4.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: nbbuild-issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-26 14:41 UTC by _ pkuzel
Modified: 2007-05-13 18:29 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 _ pkuzel 2004-07-26 14:41:30 UTC
I had:

        <makenbm file="tasklist-usertasks.nbm"
                
module="${nb.modules.dir}/tasklist-usertasks.jar"
                
productdir="${netbeans.dest.dir}/${cluster.dir}" 
               
                
homepage="http://tasklist.${homepage.base}/updates/tasklist-usertasks.html"
                
distribution="http://${dist.base}/tasklist-usertasks.nbm"
                 needsrestart="false">
            <license file="${license.file}"/>
            <signature keystore="${keystore}"
storepass="${storepass}" alias="${nbm_alias}"/>
        </makenbm>

and it finished OK but did NOT included module jar
into target nbm. There is hidden contract between
<genlist> and <makenbm>.

My expectation is:

  - pass a <fileset> defined by <pattrenset>
    to <makenbm> explicitly as in <genlist> case

  - use module parameter as additional input
    or deprecate it

  - print out message that
    tasklist/usertasks.files are processed
Comment 1 Michal Zlamal 2004-07-26 17:00:12 UTC
module parametr is used to resolve the module codenamebase so it is 
not ignored, the the filelist of file, which should included in NBM is 
being read from, update_tracking/{module-dashed-codenamebase}.xml 
file, which is being generate on behalf of <genlist> task. 
If you'll projectize your build then you can't see any errors 
regarding NBMs.
Comment 2 _ pkuzel 2004-07-26 17:17:57 UTC
At least copy the description to a documentation. <makenbm> task
semantics have changed in such way that it can silenty break build if
not revisited.
Comment 3 Jesse Glick 2004-07-26 19:30:38 UTC
The task should presumably issue a warning at least if its fileset
does not include a module JAR.
Comment 4 rbalada 2007-05-13 18:29:10 UTC
Making as WONTFIX