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

Summary: Produce clustered build of NetBeans IDE
Product: www Reporter: Jaroslav Tulach <jtulach>
Component: Builds & RepositoriesAssignee: Michal Zlamal <mzlamal>
Status: RESOLVED FIXED    
Severity: blocker CC: breh, jchalupa, jskrivanek, nbre
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 36766    
Attachments: Changes in nbbuild to produce clustered build
Launch script for linux that should be in netbeans/bin/netbeans
New layout of files in the build

Description Jaroslav Tulach 2003-10-16 08:25:20 UTC
As described in installation structure document
(http://openide.netbeans.org/proposals/arch/installation.html)
we should produce builds of netbeans that will
consist of more clusters. E.g.:

netbeans/platform-3.5/
netbeans/java-3.7/
netbeans/xml-4.2/

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
Jarda,

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
   etc.).
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 NbMerge.java is clearly a hack, but could work
temporarily until we can do better.

The launcher should read:

---%<---
#!/bin/sh
P="`dirname $0`"
exec /bin/sh "$P/../platform-3.6/bin/runide.sh"
"-J-Dnetbeans.dirs=$P/../ide-3.6" "$@"
---%<---

build.properties 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:
http://openide.netbeans.org/proposals/arch/installation.html#cluster-build
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
Accepting.
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.