Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353994 - Libraries that are removed from 'Project References' show up again after project build
Summary: Libraries that are removed from 'Project References' show up again after proj...
Status: CLOSED INVALID
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 7.0.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Andrew Gvozdev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-05 09:02 EDT by Thomas Köhler CLA
Modified: 2011-08-09 10:29 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.