Community
Participate
Working Groups
Export > Team Project Set creates a *.psf file. The <project reference="..."/> lines inside the <provider> tag should be sorted on a per-line basis. Rationale: In an ongoing project, it is common that plugins are added to the psf file over time, and the psf file itself is checked in under version control. Because the current .psf files are not sorted, every time a plugin is added and the psf file is re-exported, it is hard to verify that the set is still correct: minor modifications change the entire psf file, therefore merging and updating the files is cumbersome. In fact, I have fallen back to sorting the files manually in Emacs before I check them in. This should be done by the export tool already.
Makes sense. However, we don;t have the manpower to address this in 3.3. Patches will be accepted.
Created attachment 60953 [details] patch for org.eclipse.team.ui Here is a patch which fixes this problem. Rather than using a List to hold the workspace projects, it uses a SortedSet with the comparator set to sort by the lower-case version of the project name.
Created attachment 60954 [details] team.ui jar Martin, here is a new team.ui bundle that you can use which contains the patch. I am using this with Eclipse SDK build i0313.
Patch released to HEAD. Thanks
Thanks! This will relieve me from post-processing in Emacs.
verified