Bug 194495 - CDT does not notice deletion of output folders
Summary: CDT does not notice deletion of output folders
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 4.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-26 16:03 EDT by grokav CLA
Modified: 2020-09-04 15:20 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description grokav CLA 2007-06-26 16:03:22 EDT
After a new project is created, CDT creates the Debug/Release directory and builds it ok. However, if either of these directories is removed without CDT knowing about it ( e.g., clean not controlled by eclipse) and a rebuild is attempted, CDT chokes with this:

---
g++ -O0 -g3 -Wall -c -fmessage-length=0 -osrc\Test4.o ..\src\Test4.cpp
Internal Builder: Exec error:The directory name is invalid.
 
Build error occurred, build is stopped
Time consumed: 16  ms.
---

Doing a clean build, replaces the removed directory and builds fine. Perhaps CDT should detect that directory is gone, much like it detects if a file is modified, and issue a clean build.