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.
I installed the daily build on Mac OS X and the following was added to netbeans.conf: netbeans_default_options="-J-Dorg.glassfish.v3ee6.installRoot=/Applications/NetBeans/glassfish-v3-b52 -J-Dorg.glassfish.v3ee6.installRoot=/Applications/NetBeans/glassfish-v3-b52 -J-Dcom.sun.aas.installRoot=/Applications/NetBeans/SUNWappserver -J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dnetbeans.logger.console=true -J-ea -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true" The following part is added twice: -J-Dorg.glassfish.v3ee6.installRoot=/Applications/NetBeans/glassfish-v3-b52 BTW, I see that v2.1 information is also added although it's not a part of the bundle (it was installed by a previous version of NetBeans). I assume this is intentional?
Thank you for a catch. GF v3 is added twice since is was added by netbeans-base's postinstall script and by Glassfish v3's postinstall script as well. I will improve the script so that it will check if GF is already added. Gv v2.1 is added (when GF v2.1 installation dir exist and not empty) by netbeans-base's postinstall script and this is intentional.
Fixed: http://hg.netbeans.org/main/rev/37f920d591d7
Script doesn't work in case if tomcat is installed first. The line > if grep -q "netbeans_default_options=\"-J-Dcom.sun.aas.installRoot=$gf_dir" netbeans.conf has to be improved.
Integrated into 'main-golden', will be available in build *200912230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/0327e4c4702c User: Yulia Novozhilova <ynov@netbeans.org> Log: #168040 - Slightly incorrect information written to netbeans.conf