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 58053 - Launcher shall not read shared config file
Summary: Launcher shall not read shared config file
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: RPM (show other bugs)
Version: 4.x
Hardware: All Linux
: P4 blocker (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-19 17:43 UTC by Jaroslav Tulach
Modified: 2007-08-21 14:40 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2005-04-19 17:43:42 UTC
Issue 58052 requests the standard launcher to not read /etc/netbeans.conf, but this 
shall not be true for package one, as in case of RPM and SolPkgs we support just 
one version of NetBeans - either 4.0 or 4.1.  
 
That is the reason the RPM and SolPkg packager shall modify the launcher script to 
once again read /etc/netbeans.conf
Comment 1 _ ttran 2005-05-26 22:17:16 UTC
wait a minute.  it's not that simple.  We must detect if /etc/netbeans.conf
already exists on the system and if so *overwrite* it with the new version.

The other alternative is to use a different name for 4.1, say /etc/netbeans41.conf

Please contact me before you proceed with the fix.

mzlamal is not responsible for the RPM packages anymore.  Last time it was
Martin Krauskop

We need to do the same thing for solpkg as well, not just rpm
Comment 2 Jan Chalupa 2006-06-09 07:08:23 UTC
Pending management decision. Not a priority, because we don't build rpms and
solpkg packages at the moment. Might change in the future.
Comment 3 mslama 2007-08-21 14:40:58 UTC
Currently for debian packages and NB 5.5/5.5.1 /usr/share/netbeans/5.5/etc/netbeans.conf is symlink to
/etc/netbeans5.5/netbeans.conf. It follows Linux packaging standards that config files should be in /etc folder. rpm
should use the same when they will be built. So in the end it is not launcher issue but package issue to setup
netbeans.conf correctly ie. put actual file into /etc and create symlink from ../netbeans/.../etc/netbeans.conf to /etc.