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 36634 - Produce clustered build of NetBeans IDE
Summary: Produce clustered build of NetBeans IDE
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Michal Zlamal
Depends on:
Blocks: 36766
  Show dependency tree
Reported: 2003-10-16 08:25 UTC by Jaroslav Tulach
Modified: 2004-08-13 12:11 UTC (History)
4 users (show)

See Also:
Issue Type: TASK
Exception Reporter:

Changes in nbbuild to produce clustered build (3.23 KB, patch)
2003-10-16 08:26 UTC, Jaroslav Tulach
Details | Diff
Launch script for linux that should be in netbeans/bin/netbeans (117 bytes, text/plain)
2003-10-16 08:28 UTC, Jaroslav Tulach
New layout of files in the build (65.49 KB, text/plain)
2003-10-16 08:45 UTC, Jaroslav Tulach

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2003-10-16 08:25:20 UTC
As described in installation structure document
we should produce builds of netbeans that will
consist of more clusters. E.g.:


where each subdirectory will more or less mimic
the current structure under netbeans/ directory.

For the future it would be excelent, if the set of
clusters would be easily customizable, but for 4.0
we really need just two clusters platform and ide.
And they should be really easy to produce.
Comment 1 Jaroslav Tulach 2003-10-16 08:26:45 UTC
Created attachment 11879 [details]
Changes in nbbuild to produce clustered build
Comment 2 Jaroslav Tulach 2003-10-16 08:28:11 UTC
Created attachment 11880 [details]
Launch script for linux that should be in netbeans/bin/netbeans
Comment 3 Jaroslav Tulach 2003-10-16 08:45:01 UTC
Created attachment 11881 [details]
New layout of files in the build
Comment 4 rbalada 2003-10-16 15:17:44 UTC

the patch looks good.

I have couple of issues:
1) I'm not a friend of hardcoded version numbers in code, we could get
   the string "3.6" for cluster versions from somewhere else. This
   would allow special cluster names for special builds like Q-Builds,
   Release Candidates, special Promotions etc. This change implies
   change in the "netbeans" startup script you've attached (i.e.
   versioning of the filename, looking for appropriate directories
2) Current NetBeans daily dev build produces also so called
   "Platform build". What should I do with that? Should I change
   the build scripts to pack the cluster platform-3.6 instead
   of separate build?
3) You've set it P3 TASK, what is your anticipated completion date?
Comment 5 Jesse Glick 2003-10-21 16:29:28 UTC
Initial comments:

The patch to is clearly a hack, but could work
temporarily until we can do better.

The launcher should read:

P="`dirname $0`"
exec /bin/sh "$P/../platform-3.6/bin/"
"-J-Dnetbeans.dirs=$P/../ide-3.6" "$@"
---%<--- would need to be patched since the platform config
includes a few modules in the non-fixed list, esp. autoupdate, which
would need to change.

openfile-cli.jar will not work in the ide-3.6/lib/ dir.
Comment 6 Jaroslav Tulach 2003-10-27 13:42:25 UTC
Can re group confirm acceptance of this issue and somehow choose a
target date?
Comment 7 Jaroslav Tulach 2003-10-27 13:44:28 UTC
There is a proposal of the features of the "cluster" build system:
Comment 8 Michal Zlamal 2003-10-27 14:58:03 UTC
Patch should be prepared on branch at the end of this year.
Comment 9 Jaroslav Tulach 2003-11-06 10:16:07 UTC
Great, I am looking forward to have it. Can I make you the owner then?
Comment 10 Michal Zlamal 2003-11-06 10:25:01 UTC
BTW the branch name is build_system_separation36759_branch

Comment 11 Jesse Glick 2004-05-01 16:00:08 UTC
Isn't this now FIXED?
Comment 12 Michal Zlamal 2004-05-02 15:08:06 UTC
Yes it is.