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

Bug 353994

Summary: Libraries that are removed from 'Project References' show up again after project build
Product: [Tools] CDT Reporter: Thomas Köhler <thomas.koehler.rovema>
Component: cdt-buildAssignee: cdt-build-inbox <cdt-build-inbox>
Status: CLOSED INVALID QA Contact: Andrew Gvozdev <angvoz.dev>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 7.0.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Thomas Köhler CLA 2011-08-05 09:02:24 EDT
Build Identifier: 20100917-0705

I have a project that references some libraries via the common 'C/C++ Project Properties | Project References' page. Now I want to remove those references in favour of the CDT-specific references defined in 'C/C++ Project Properties | C/C++ General | Paths and Symbols | References'.

My problem is, that the removed libraries show up again in the 'C/C++ Project Properties | Project References' page after the project is rebuilt.

Unfortunately I can't reproduce this bug consistently but it seems to me that this bug comes up only if do some build-configuration changes before starting the rebuild.

Searching the bug-database let me assume that my problem is somehow related to bug 206372 but neither deleting the .sc file nor pressing the 'clean' button in the Discovery Options dialog really helped.


Reproducible: Sometimes
Comment 1 Thomas Köhler CLA 2011-08-09 10:29:16 EDT
Sorry guys, it's not a bug it's a feature. To be precise: the 'C/C++ General | Export Settings' feature.

I found that the deleted libraries (and paths) where propagated into my project again by the exports of the referenced libraries in 'C/C++ General | Paths and Symbols | References'.

After deleting all Export Settings of the affected libraries their mysterious reincarnation in the dependend project settings has stopped.