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 72426 - Build Suite NBMs Option Needed
Summary: Build Suite NBMs Option Needed
Status: VERIFIED DUPLICATE of bug 64426
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-08 17:31 UTC by jlam
Modified: 2006-03-07 10:14 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 jlam 2006-02-08 17:31:41 UTC
This is an RFE to add an option to the project suites and the ant build file. 
When building pluggins with a large number a modules, it is quite painful to
walk through each one and tell it to build the nbm and then move all the nbms to
a central location.  It would be better if there was an option like "Build Zip
Distribution" that would actually build all the dependent module nbms and put
them in a local nbm directory.  

If you look at nbbuild/build.xml there is build-nbms.  This is exactly what we
need except for suites.

This is my recommend code addtion:
    
    <target name="build-nbm-pack" depends="init" description="Builds all modules
into nbms">
        <delete dir="nbms"/>
        <mkdir dir="nbms" />
  
        <loadproperties srcFile="../ravesuite/nbproject/project.properties">
           <filterchain>
                 <tokenfilter>
                   <deletecharacters chars=".."/>
                 </tokenfilter>
             </filterchain>      
        </loadproperties>
       <for-each startdir=".." target="nbm" locations="${modules}"
propertyname="nbm.target.dir" propertyvalue="${basedir}/nbms"/>
    </target>
Comment 1 Martin Krauskopf 2006-02-15 10:18:39 UTC
Dupe of issue 64426?
Comment 2 Jesse Glick 2006-02-15 22:29:50 UTC

*** This issue has been marked as a duplicate of 64426 ***
Comment 3 Tomas Danek 2006-03-07 10:14:00 UTC
verified duplicate.