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

Bug 340843

Summary: Include Path gets corrupted when deleting source folder
Product: [Tools] CDT Reporter: Lukas Felber <l.felber>
Component: cdt-buildAssignee: Project Inbox <cdt-build-managed-inbox>
Status: RESOLVED DUPLICATE QA Contact: Chris Recoskie <recoskie>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Lukas Felber CLA 2011-03-24 07:50:45 EDT
Build Identifier: M20100909-0800

Assume there is a project P which contains two source folder F1 and F2. F1 is configured as (workspace relative) include path (P->Properties->C/C++ General->Paths and Symbols->Includes). In the "Includes" section of P it is thus listed as "P/F1". When F2 is deleted, the include path "P/F1" gets changed to "P/P/F1" (which now points to an inexisting location and is not anymore usable as include path).

Reproducible: Always

Steps to Reproduce:
1. Create C++ project ( P )
2. Create two source folders F1 and F2 (P->New->Source Folder)
3. Go to P->Properties->C/C++ General->Paths and Symbols->Includes and add workspace relative include path to F1.
4. Delete folder F2.
Comment 1 Andrew Gvozdev CLA 2011-03-24 10:43:27 EDT
Marking as duplicate.

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