Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 225742 - exclude file from build causes irreversible consequences
Summary: exclude file from build causes irreversible consequences
Status: RESOLVED DUPLICATE of bug 299857
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 4.0.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-04 09:43 EDT by Oliver Mueller CLA
Modified: 2011-02-26 20:26 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Mueller CLA 2008-04-04 09:43:54 EDT
Build ID:  M20080221-1800
CDT 4.0.3

Steps To Reproduce:
1.inside a managed c++ project, exclude a single source file
2.try to include it by deselecting the exclude button



More information:
when a source file is excluded, the global settings (include paths etc.) are removed from the individual settings. when the exclusion is undone, you cannot restore the project settings. there is the possibility to restore the defaults, but this is not persistent. 
workaround: manually delete the file-specific settings
Comment 1 David Hammarwall CLA 2008-07-18 04:18:45 EDT
I'm having the same problem in the Ganymede build
Comment 2 Alex Freidin CLA 2011-02-26 19:13:34 EST
Not reproducible in CDT 7.0.1 and HEAD, looks like fixed.
Comment 3 Andrew Gvozdev CLA 2011-02-26 20:26:05 EST
I think that may have been fixed with one of subtasks of bug 299857.

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