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.
Summary: | [81cat] Unwanted order changes in project.properties | ||
---|---|---|---|
Product: | apisupport | Reporter: | cezariusz <cezariusz> |
Component: | Project | Assignee: | Martin Kozeny <mkozeny> |
Status: | NEW --- | ||
Severity: | normal | CC: | cezariusz, omolenkamp |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Other | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Java project - before
Java project - after Files changed in platform sources |
Description
cezariusz
2015-07-10 14:48:08 UTC
Created attachment 154564 [details]
Java project - before
Created attachment 154565 [details]
Java project - after
Created attachment 154566 [details]
Files changed in platform sources
I've opened platform sources with 8.1 (dev) - on the screenshot you can see how many files had been changed.
I'm seeing a similar issue in the newly released 8.1 Build 201510222201. It doesn't happen when a project is opened, but when you change any property, the property keys in the project.properties file are no longer in alphabetical order. It's enough of a problem that I'm going back to 8.0.2 rather than deal with the source control headache of having project.properties files being completely rearranged. Maybe related to bug 248307? It looks like project.properties is edited using Properties instead of AntProjectHelper/EditableProperties in (at least) these source files: j2ee.samples/src/org/netbeans/modules/j2ee/samples/SampleProjectGenerator.java jmx.common/src/org/netbeans/modules/jmx/common/runtime/J2SEProjectType.java junit.ant.ui/src/org/netbeans/modules/junit/ant/ui/JUnitProjectOpenedHook.java When using Properties, the order of the properties is not preserved. This issue affects version 8.2 as well. Any chance it will be addressed? We can't upgrade from 8.0.2 until this is resolved. |