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 17334 - Make xml modules buildable by normal means
Summary: Make xml modules buildable by normal means
Status: RESOLVED WONTFIX
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: nbbuild-issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-06 10:31 UTC by Jesse Glick
Modified: 2001-11-07 10:28 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Suggested patch (3.54 KB, patch)
2001-11-06 10:31 UTC, Jesse Glick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2001-11-06 10:31:29 UTC
I am not sure why the xml build script structure is so strange, but anyway this
normalizes it and makes it possible to build the xml modules just by using the
normal -Dmodules=... syntax, or in fact in the bloated config. Making an "alias"
for a bunch of modules is not possible in the current infrastructure; you can
alias their top-level all-* build targets, but you still need to merge the
results later. IMHO nb_all/xml/build.xml should simply be deleted, it serves no
basic purpose.
Comment 1 Jesse Glick 2001-11-06 10:31:53 UTC
Created attachment 3276 [details]
Suggested patch
Comment 2 _ lkramolis 2001-11-06 16:05:34 UTC
I do not agree. I think it is VERY useful to have one common target /
build_script for all xml modules, while they are in one CVS project
nb_all/xml.

When I want to create NB with XML modules, I just type 'ant
-Dmodules=xml merge' in nb_all/nbbuild to compile all XML modules to
already compiled IDE. I do not want specify eight modules, it is not
comfortable. If you want, you can create just 'xml/compat' target, but
there should be still 'xml' target, which will depend on all
particular modules.

Same for nb_all/xml/build.xml. This is common way, how to build all
stuff of nb_all/xml project.

Please, do not change it as Jesse suggest. It does not make sense to me.
Comment 3 Jesse Glick 2001-11-07 09:58:59 UTC
Close as WONTFIX if you want. I am curious how -Dmodules=xml merge
actually merges anything; does xml/build.xml copy everything into
xml/netbeans/ from xml/*/netbeans/? This seems wasteful. Maybe it
would be nice to have a general alias system for module sets (instead
of or in addition to module configs), as has been requested anyway.
Technically passing -Dmodules=xml/core,...,xml/compat is the correct
way to do it, it is just a matter of convenience to not have to type
them all.
Comment 4 _ lkramolis 2001-11-07 10:28:55 UTC
When there will be better support from nbbuild, I will change it. But
current solution is the best for me, from my point of view.