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

Bug 337668

Summary: C/C++ general settings do not persist across restarts of Eclipse
Product: [Tools] CDT Reporter: yk.bugzilla
Component: cdt-coreAssignee: Project Inbox <cdt-core-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: minor    
Priority: P3 CC: malaperle, yevshif
Version: 7.0.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description yk.bugzilla CLA 2011-02-20 13:46:40 EST
Build Identifier: 20100917-0705

Under Window->Preferences->C/C++->General Settings for C/C++ Development, the options for "Build Scope" (Build active configuration versus build all configurations) and "Build configurations only when there are Eclipse resource changes within the project and its references" do not persist across restarts of Eclipse. the options do apply during the current instance of Eclipse, but once Eclipse is restarted, the options revert to default. This bug occurs in both Ubuntu 10.04 and Windows 7; in previous versions it occurs on Mac OS X, but I haven't had access to a mac to test more recently. I haven't tested other operating systems.

Reproducible: Always

Steps to Reproduce:
1. Go to Window->Preferences->C/C++->General Settings for C/C++ Development and select "Build all configurations in each project" and check mark "Build configurations only when there are Eclipse resource changes within the project and its references".
2. Restart Eclipse.
3. Go to Window->Preferences->C/C++->General Settings for C/C++ Development. The options have reverted to default (Build active configuration and unchecked).
Comment 1 Marc-André Laperle CLA 2011-02-21 14:51:06 EST
I can reproduce with 7.0.0 but not 8.0. Looks like this has been fixed with bug 334118.