cornercorner
FeaturesPluginsPlatformDocs & SupportCommunityPartners

Bug 48117 - [40cat] New installer for OS X does not yet document configuration options
: [40cat] New installer for OS X does not yet document configuration options
Status: NEW
: installer
Code
: 4.0
: Macintosh Mac OS X
: P3 with 1 vote (vote)
: TBD
Assigned To:
:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-08-29 06:46 by
Modified: 2005-05-23 13:55 (History)
Issue Type: ENHANCEMENT
:


Attachments
Unix shell script for /etc/netbeans.conf (2.99 KB, text/plain)
2004-08-29 06:54, deeptinker
Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-08-29 06:46:35
[ BUILD # : 040819 ]
[ JDK VERSION : J2SE 1.4.2_05 ]

The new installer for OS X is very nice and is much easier to use.  However,
the documentation for it does not describe how to add startup parameters for
it.

Attached is a sample netbeans.conf script I put together to specify larger heap
sizes, etc.  It needs to go in the /etc directory and be world readable.  

Someone using this script should be comfortable with the unix command line
(Terminal) and be somewhat familiar with shell script.  Later, perhaps one of
us will write a nice GUI frontend for this.  Until then...

Travis
------- Comment #1 From 2004-08-29 06:54:31 -------
Created an attachment (id=17207) [details]
Unix shell script for /etc/netbeans.conf
------- Comment #2 From 2004-08-30 07:25:19 -------
Milos Kleint pointed out that only the MAVEN_HOME environment variable
needs to be defined so one can use mevenide-netbeans.  Changing the
PATH variable is not needed.

Also,  here is a far more elegant solution provided by Thomas Much on
the Apple java-dev list.

"Download the preference pane "RCEnvironment"
(http://www.rubicode.com/Software/RCEnvironment/)..."

The description of the tool says "RCEnvironment is a preference pane
for MacOS X 10.1 or higher that allows editing of a user's
~/.MacOSX/environment.plist file. This file provides environment
variable capability similar to Windows' Environment User Variables."

For some, this may eliminate the need for a script at /etc/netbeans.conf.

Travis
------- Comment #3 From 2004-09-15 14:06:06 -------
A couple comments:

Also useful lineswitch:  -J-XX:PermSize=24M - will eliminate some gc's
during startup.  Also, not recommended for everybody (it makes
NetBeans hog memory from other apps), deleting the existing memory
parameters and using -J-XX:+AgressiveHeap will have nice effects on
NetBeans' performance, at the price of other apps swapping more.

Marek, should this be assigned to you?
------- Comment #4 From 2004-09-15 14:21:04 -------
I have no idea about OS X installer. Maybe Trung? :)
------- Comment #5 From 2004-09-16 04:41:03 -------
Tim, thanks for the additional parameter suggestions.

My intent with this issue was to suggest additional documentation on
the NB web site for advanced users.  Perhaps a "How To"?  It would
actually be useful for all *nix users, not just for Mac.  

I would be willing to help prepare it once the format and target
audience is determined.

Did you have something else in mind?
------- Comment #6 From 2004-12-10 11:23:17 -------
there is an undocumented feature in the 4.0 launcher.  Besides the
<inst>/etc/netbeans.conf it also parses
~/.netbeans/4.0/etc/netbeans.conf, in the order you would expect :-)

The format of the latter is similar to the former conf file, except that  
netbeans_default_userdir is ignored for an understandable reason.

If there are duplicates in both file what you put in
~/.netbeans/4.0/etc/netbeans.conf takes over.  No merging is implemented.
------- Comment #7 From 2004-12-17 14:44:32 -------
Trung who can do this?
------- Comment #8 From 2004-12-21 20:41:06 -------
I'll take it.  Will find some time to post an FAQ entry
------- Comment #9 From 2005-05-23 13:55:12 -------
does the FAQ exist somewhere? could someone post the link?