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

Bug 170590

Summary: Files from refered projects are not saved before build
Product: [Tools] CDT Reporter: Liviu Ionescu <ilg>
Component: cdt-buildAssignee: James Blackburn <jamesblackburn+eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bnicolle
Version: 3.1.1   
Target Milestone: 7.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch 1 jamesblackburn+eclipse: iplog-

Description Liviu Ionescu CLA 2007-01-16 03:13:09 EST
Build ID: M20060921-0945

Steps To Reproduce:
1. define an include path from the refered project
2. include a header file from the refered project and edit it
3. start build; the header file is not saved


More information:
I'm using CDT managed make configurations and I have a separate project where I keep common library code (headers and sources); the application project refers the common project (Project References); each time I edit common project files I have to manually save files before build.
Comment 1 Andrew Gvozdev CLA 2010-03-21 23:57:16 EDT
*** Bug 86637 has been marked as a duplicate of this bug. ***
Comment 2 James Blackburn CLA 2010-03-22 06:33:41 EDT
Created attachment 162652 [details]
patch 1

Patch for the issue.
- Enhance CDTBuildAction to, if the preference is enabled, save dirty editors in referenced projects before build.
Comment 3 James Blackburn CLA 2010-03-22 06:37:32 EDT
Committed.
Comment 4 Andrew Gvozdev CLA 2010-03-22 13:50:04 EDT
*** Bug 44231 has been marked as a duplicate of this bug. ***