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 48117 - [40cat] New installer for OS X does not yet document configuration options
Summary: [40cat] New installer for OS X does not yet document configuration options
Status: NEW
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: Macintosh Mac OS X
: P3 blocker with 1 vote (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-29 06:46 UTC by deeptinker
Modified: 2014-02-10 14:15 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


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

Note You need to log in before you can comment on or make changes to this bug.
Description deeptinker 2004-08-29 06:46:35 UTC
[ 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 deeptinker 2004-08-29 06:54:31 UTC
Created attachment 17207 [details]
Unix shell script for /etc/netbeans.conf
Comment 2 deeptinker 2004-08-30 07:25:19 UTC
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 _ tboudreau 2004-09-15 14:06:06 UTC
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 mslama 2004-09-15 14:21:04 UTC
I have no idea about OS X installer. Maybe Trung? :)
Comment 5 deeptinker 2004-09-16 04:41:03 UTC
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 _ ttran 2004-12-10 11:23:17 UTC
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 mslama 2004-12-17 14:44:32 UTC
Trung who can do this?
Comment 8 _ ttran 2004-12-21 20:41:06 UTC
I'll take it.  Will find some time to post an FAQ entry
Comment 9 Talley Mulligan 2005-05-23 13:55:12 UTC
does the FAQ exist somewhere? could someone post the link?
Comment 10 Jiri Rechtacek 2012-10-07 12:58:45 UTC
Assigned to new owner.