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

Bug 367253

Summary: Source folders are reshuffled when build settings are edited.
Product: [Tools] CDT Reporter: Eugene Ostroukhov <eostroukhov>
Component: cdt-coreAssignee: Andrew Gvozdev <angvoz.dev>
Status: RESOLVED FIXED QA Contact: Andrew Gvozdev <angvoz.dev>
Severity: normal    
Priority: P3 CC: aleherb+eclipse, cdtdoug, malaperle
Version: 8.0   
Target Milestone: 8.1.0   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Eugene Ostroukhov CLA 2011-12-20 16:59:57 EST
Build Identifier: 20110615-0604

Ordering of the source folders in the Project Explorer may change when some build settings (i.e. files inclusion/exclusion) is changed.

Reproducible: Always

Steps to Reproduce:
1. Create a project with several source folders.
2. Put different source files in the folders.
3. Try to exclude source files from the build.

The ordering of the source folders in the Project Explorer view will change.
Comment 1 Andrew Gvozdev CLA 2011-12-21 10:12:44 EST
What is your expectation assuming the order will be stable, alphabetical order?
Comment 2 Andrew Gvozdev CLA 2011-12-28 00:21:14 EST
Added sorting source entries in the model by path. Commited to master.