Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 184023

Summary: Save launch configuration attributes on a predictable order
Product: [Eclipse Project] Platform Reporter: Willian Mitsuda <wmitsuda>
Component: DebugAssignee: Platform-Debug-Inbox <platform-debug-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Willian Mitsuda CLA 2007-04-25 10:46:16 EDT
I usually save my launch configurations on files to share them using CVS.

The problem is that sometimes (I don't know why, but this is irrelevant for now) after swapping I-builds the .launch file is changed without my will.

Synchronizing and comparing shows me that the contents does not change. It just swap the position of many lines, causing a pain to see if something really changed.

I haven't looked at the code, but I suspect that the parameter map is stored on a HashMap. If so, it would be better to use a SortedMap implementation, which has a predictable iteration order.
Comment 1 Darin Wright CLA 2007-04-25 10:52:05 EDT

*** This bug has been marked as a duplicate of bug 180756 ***