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 26536 - Patch for simple user build customization
Summary: Patch for simple user build customization
Status: RESOLVED DUPLICATE of bug 26319
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: nbbuild-issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-15 19:16 UTC by thierrylach
Modified: 2002-08-16 15:59 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Patch as described in issue (638 bytes, patch)
2002-08-15 19:17 UTC, thierrylach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description thierrylach 2002-08-15 19:16:59 UTC
The attached patch creates a standard module configuration 
in build.properties and build.xml that can be easily 
overridden in user.build.properties.  This allows a 
standard, simple, and consistent way for customized builds.

The patch sets config.user to config.superslim as default.

An example user.build.properties might be:

---------start-------------
moduleconfig=user

xxxx.config.user=ant, \
        apisupport/lite, \
        applet, \
        autoupdate, \
        beans, \
        classfile, \
        clazz, \
        core/settings, \
        debuggercore, \
        debuggerjpda, \
        diff, \
        editor, \
        extbrowser, \
        form, \
        html, \
        httpserver, \
        httpserver/servletapi, \
        i18n, \
        image, \
        jarpackager, \
        java/api, \
        java, \
        javacvs, \
        javadoc, \
        jndi, \
        openidex, \
        openidex/looks, \
        projects, \
        properties, \
        rmi, \
        scripting, \
        text, \
        tasklist, \
        ui/welcome, \
        usersguide, \
        utilities, \
        vcscore, \
        vcscvs/compat, \
        vcsgeneric, \
        libs/xalan, \
        libs/jaxp, \
        db, \
        mdr
----------end--------------
Comment 1 thierrylach 2002-08-15 19:17:54 UTC
Created attachment 7106 [details]
Patch as described in issue
Comment 2 Jesse Glick 2002-08-15 20:25:22 UTC
Already have a pending patch that has the same effect and also
simplifies the moduleconfig system a bit. Michal, do you plan to apply
issue #26319 any time soon? It should be easy and I don't think it
affects anything else.

Re. config.superslim: I think it's best to keep the default config
'stable' since this matches what you get with an NB download, so that
is probably least surprising. Of course it is easy to customize this
in your user.build.properties.

*** This issue has been marked as a duplicate of 26319 ***
Comment 3 thierrylach 2002-08-15 21:04:22 UTC
I grabbed config.superslim as hving the least impact if 
someone ran "ant -Dmoduleconfig=user" without any other 
setup.
Comment 4 Jesse Glick 2002-08-16 14:27:27 UTC
Right. Well, the patch in #26319 is a bit simpler - it does not define
any 'user' config. You can create any number of custom configs named
as you like and use them.
Comment 5 Michal Zlamal 2002-08-16 15:59:02 UTC
I just applied the Jesse's patch, it solves more problems.