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.
Consider following situation: We have netbeans platform application lets call it "app". Linux: The application is installed in /app therefore the global settings file is in /app/etc/app.conf the user file is in /home/user/.app/dev/etc/app.conf Now when i write to user conf file default_options+=" -J-D-something " The application concatenates this string to the default_options string from the global configuration file. Now the _BUG_: On Windows (we tested XP and Vista) this scenario does not work: The application is installed in C:\app therefore the global settings file is in C:\app\etc\app.conf the user file is in C:\Users\AppData\.app\dev\etc\app.conf Now when i write to user conf file default_options+=" -J-D-something " The application completely ignores the string. The only way how to force to not ignore the string is to write default_options=" -J-D-something " to the C:\Users\AppData\.app\dev\etc\app.conf file. However by this we completely delete the previous (global) content of default_options variable.
Reproduced for NetBeans itself on Windows XP.
The correct behaviour on Linux is not the default behaviour. we change the app/bin/app shell script the interpreter for our app is not /bin/sh but /bin/bash therefore the default_options+="" string works in linux. We need similar behaviour in windows. I forget to add this in my first report.
Not a bug. Changing to enhancement. As you've already found out, this is not supported on Linux either. The recommended way of setting up customized .conf file in userdir is by copying the one from installdir. http://wiki.netbeans.org/FaqNetbeansConf What is the particular usecase for you?
Assigned to new owner.