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 58052 - Launcher shall not read shared config file
Summary: Launcher shall not read shared config file
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-19 17:33 UTC by Jaroslav Tulach
Modified: 2005-04-20 07:52 UTC (History)
0 users

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:33:32 UTC
Default laucher of the from the unzipped or installed by installer installation shall not  
read config file from a shared location as it  prevents different installation to have 
different configurations. Which can be very problematic especially between different 
version as 4.1 and 4.0.
Comment 1 Jaroslav Tulach 2005-04-19 17:34:03 UTC
Index: launcher/unix/netbeans 
=================================================================== 
RCS file: /cvs/ide/launcher/unix/netbeans,v 
retrieving revision 1.16 
diff -u -3 -p -r1.16 netbeans 
--- launcher/unix/netbeans      3 Jan 2005 16:06:58 -0000       1.16 
+++ launcher/unix/netbeans      19 Apr 2005 16:33:48 -0000 
@@ -32,9 +32,10 @@ if [ -f "$progdir"/../etc/netbeans.conf 
     . "$progdir"/../etc/netbeans.conf 
 fi 
 
-if [ -f /etc/netbeans.conf ] ; then 
-    . /etc/netbeans.conf 
-fi 
+# following should be done just in RPM or Solaris Launcher 
+# if [ -f /etc/netbeans.conf ] ; then 
+#     . /etc/netbeans.conf 
+# fi 
 
 args="$@" 
 
 
Comment 2 Jaroslav Tulach 2005-04-19 17:35:19 UTC
cvs -q ci -m "#58052: Do not read /etc/netbeans.conf"  
Checking in launcher/unix/netbeans;  
/cvs/ide/launcher/unix/netbeans,v  <--  netbeans  
new revision: 1.17; previous revision: 1.16  
done  
  
Comment 3 Jaroslav Tulach 2005-04-19 17:35:46 UTC
Will need to go to 4.1 version as well. 
Comment 4 Jaroslav Tulach 2005-04-19 17:44:26 UTC
Please also note that RPM and SolPkg shall behave in the same way - issue 58053 
Comment 5 Jaroslav Tulach 2005-04-20 07:52:14 UTC
Not many positive reviews, but let's backport anyway: 
 
cvs ci -m "#58052: Backport to 4.1 - disabling read of /etc/netbeans.conf" 
cvs commit: Examining . 
Checking in netbeans; 
/cvs/ide/launcher/unix/netbeans,v  <--  netbeans 
new revision: 1.16.16.1; previous revision: 1.16