NetBeans Startup Settings - plugin detail

Currently to add or change any NetBeans parameter (font size, jvm argument, look and feel), a etc/netbeans.conf file needs to be edited. So this module, can make it easy to change those parameters in a graphical interface. It is capable to maintain a list of JDK and user directories.

NetBeans Plugin - NetBeans Startup Settings
Plugin owner: claudio4j
Website: http://nbmodules.javaforge.com/
Added: 2008-03-29
License: LGPL 2.1
Category: Utilities
Downloaded: 5,684 times
Rating:
 4.28, by 3 users

Plugin Log Show log

Versions available

Download plugin   Download size: N/A   Last Update: 2010-02-12

What's new in this version

release 0.5 beta (02/11/2010) - Fixed windows path name issues.

Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: N/A   Last Update: 2010-02-12

What's new in this version

release 0.5 beta (02/11/2010) - Fixed windows path name issues.

Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

NetBeans Startup Settings

Currently to add or change any NetBeans parameter (font size, jvm argument, look and feel), a etc/netbeans.conf file needs to be edited.

So this module, can make it easy to change those parameters, see below screenshot and feature list:

Feature list

  • Backup and restore original settings (etc/netbeans.conf)
  • Able to configure and store different JDK and NetBeans user directory
  • Store settings (jdk and userdir) under JDK Preference API
  • Backup of original netbeans.conf settings
  • Support to on-line updates through update center
  • LGPL license
  • If specified userdir doesn't exist, a new one will be created
  • Remember netbeans user and JDK directories, across different NetBeans installations.

Requirements

  • JDK 5 or higher
  • NetBeans 6.x
  • A writable $HOME/.java/.userPrefs directory

Recommendations

  • JDK 6 to run NetBeans
  • check the option "Force install into shared directories" at Tools --> Plugins --> Settings (tab)

Limitations

  • If the option to install plugins into a shared directory is NOT checked, this plugin will be installed at the user directory. If the user changes the netbeans user directory, this plugin will not be loaded.

Project page at javaforge.com

Checkout the changelog

[ You have to be logged in to be able to comment. ]

User Comments

  

Some issues on Windows

Backslashes for paths are or not shown in the window, empty spaces in paths are interpreted as separators.
Posted by jiai on Jun 05, 2008
  

Re: Some issues on Windows

Dear jiai, I will do additional testing on windows. Thanks for reporting.
Posted by claudio4j on Jun 05, 2008
  

Issues FIXED

I want to share with you, there is a new version (0.3) that fixes the previous erros noted by David. See the changelog to get more information about the errors. http://nbmodules.javaforge.com/changelog.wki

Thanks.
Posted by claudio4j on Apr 30, 2008
  

Errors

David, thanks for your comments.

I am going to fix this and submit an update to the portal plugin, this week.
I am sorry for the inconvenience.
Posted by claudio4j on Apr 12, 2008
  

Problems

I really like the idea of this plugin but it has some rough spots.

It changed this:
# ${HOME} will be replaced by JVM user.home system property
netbeans_default_userdir="${HOME}/.netbeans/6.0"

# Options used by NetBeans launcher by default, can be overridden by explicit
# command line switches:
#netbeans_default_options="-J-Dcom.sun.aas.installRoot=/Applications/NetBeans/glassfish-v2ur1 -J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true"
netbeans_default_options="-J-Dcom.sun.aas.installRoot=/Applications/NetBeans/glassfish-v2ur1 -J-client -J-Xss2m -J-Xms512m -J-Xmx1024m -J-XX:PermSize=256m -J-XX:MaxPermSize=256m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true -J-XX:+UseParallelGC --fontsize 14"

# (Note that a default -Xmx is selected for you automatically.)

# If you specify the heap size (-Xmx) explicitely, you may also want to enable
# Concurrent Mark & Sweep garbage collector. In such case add the following
# options to the netbeans_default_options:
# -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled
# (see http://wiki.netbeans.org/wiki/view/FaqGCPauses)

# Default location of JDK, can be overridden by using --jdkhome

into this:
###properties written by nb-settings module
netbeans_default_userdir="/Users/David/.netbeans/6.0temp2"
netbeans_default_options="-J-Dcom.sun.aas.installRoot=/Applications/NetBeans/glassfish-v2ur1 -J-client -J-Xss2m -J-Xms512m -J-Xmx1024m -J-XX:PermSize=256m -J-XX:MaxPermSize=256m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true -J-XX:+UseParallelGC --fontsize 14"
netbeans_jdkhome="System/Library/Frameworks/JavaVM.framework/Versions/1.6/Hom"


As you can see my "netbeans_jdkhome" setting is incorrect which means I can't start NetBeans. You should also probably mention in your documentation that you can restore the settings from "netbeans-original.conf".
Posted by dbotterill on Apr 11, 2008
  

What ?

Dear takerisk, thanks for give feedback about this plugin.

- can you say WHAT is not working ? Just saying it doesn't work, unfortunately doesn't help.

- what is your system environment (OS, JDK, netbeans) ?

Thanks
Posted by claudio4j on Apr 09, 2008
  

NetBeans Startup Settings

This plugin doesn't work. Please do not post plugins that are that low in version and quality.
Posted by takerisk on Apr 09, 2008
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo