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 opened the properties dialog on the ant module and changed the spec version. Later I looked at the diff of manifest.mf. -OpenIDE-Module-Specification-Version: 3.20 +OpenIDE-Module-Specification-Version: 3.21 is fine. But -OpenIDE-Module-Requires: - org.openide.execution.ExecutionEngine, - org.openide.windows.IOProvider +OpenIDE-Module-Requires: org.openide.execution.ExecutionEngine, org.openide.windows.IOProvider is not fine. The properties dialog should not try to change this value unless I actually added or removed a token, which I did not.
I can see two problems, at least: 1. ManifestManager.parseTokens uses StringTokenizer(..., ",") but the delimiters should be ", " instead. 2. SingleModuleProperties.storeManifestChanges should check to see if the old value of OIDE-M-R was the same as the new value (ignoring delimiters and ordering) and if so, do not change the line.
Yes changes are stored everytime. Started...
Fixed. Checking in ui/customizer/ComponentFactory.java; 1.35 --> 1.36 Checking in ui/customizer/SingleModuleProperties.java; 1.20 --> 1.21 Checking in test/project/ui/customizer/SingleModulePropertiesTest.java; 1.12 --> 1.13
verified