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.
The Rainier release is using the netbeans.dirs property so we can have a netbeans directory containing JUST netbeans files and a SUNWspro directory containing the Rainer added value modules. For the most part this works fine. The area it doesn't work is branding. If my branding module is in SUNWspro/modules and I call runide.sh with -branding and the appropriate netbeans.dirs flag my branding module isn't used.
As (currently) designed - branding files must be located in locale/ subdirs relative to the location of the master files - just like localization. This means that to brand a NB platform or IDE dir, you must add branding files within that directory hierarchy. If all your files are "owned" by some native package, this is no more than an aesthetic problem; the packaging system "knows" which file is which. I made this clear some time ago on tools-arch and no one seemed to care much at the time. So treating this as an enhancement to permit localization & branding JARs to be located in other areas for aesthetic reasons.
Would be an API change too.
Have a working patch that implements this RFE.
committed * Up-To-Date 1.12 core/bootstrap/src/org/netbeans/Main.java committed * Up-To-Date 1.23 core/src/org/netbeans/core/modules/Util.java committed * Up-To-Date 1.7 openide/api/doc/org/openide/doc-files/i18n-branding.html
Please merge this fix into the release35R branch. The fix is needed for the Rainier release which uses that branch.
Fine, but don't reopen it just for that; it is still FIXED for 4.0.
Merged to branch release35R: Checking in bootstrap/src/org/netbeans/Main.java; /cvs/core/bootstrap/src/org/netbeans/Main.java,v <-- Main.java new revision: 1.8.2.1.16.1; previous revision: 1.8.2.1 done Checking in src/org/netbeans/core/modules/Util.java; /cvs/core/src/org/netbeans/core/modules/Util.java,v <-- Util.java new revision: 1.20.44.1; previous revision: 1.20 done