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.
The handling of the textfield entry in the window 'Project Properties' Categories: "Run" 'VM Options:' is not ok. If I used a System Variable like "${build.classes.dir}" instead of an absolute path like "c:\Projects\xyz\build\classes\" I enter and press OK: -Xbootclasspath/p:${build.classes.dir} After reopening I have: -Xbootclasspath/p:build/classes but remains OK in file project.properties. If I then have in file project.properties: application.args=Fritz and enter in window 'Project Properties': 'Run'->'Arguments:' Klaus then Fritz is not updated to Klaus.
Two separate issues; next time please file separately. Re. #1 - GUI editing of arguments using Ant property substitutions is not supported. If you need to do this, do so in the .properties file only. Re. #2 - probably application.args=Klaus was added to private.properties, since that is where application.args is normally stored. But the customizer should be smart enough to store back to project.properties if it is set only there.
> Two separate issues; next time please file separately. We felt, that there were more than these 2 irregularities, so we tried to formulate an "umbrella". We only choosed these 2, because we had difficulties to reproduce and clearly describe the others. Re. #1 - When we edited other fields in GUI and saved them by pressing OK, then sometimes only "-Xbootclasspath/p:build/classes" was written back to the .properties file, but was difficult to reproduce reliable. So we only described the reliable reproducible part. Re. #2 - Probably you are right, but we tested different scenarios and in the end we were not sure, what was going on exactly, because ... ... there should be clarity when the GUI relates to project.properties and when to private.properties, because we save project.properties in CVS/SubVersion, but not private.properties. Perhaps we need a switch 'private' <-> 'project' in the GUI.
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. We apologize for any inconvenience. Thank you. The NetBeans Team