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

Bug 323498

Summary: [Scanner Discovery] Regression: Current Directory is never discovered in CDT 6.0.2
Product: [Tools] CDT Reporter: Martin Oberhuber <mober.at+eclipse>
Component: cdt-buildAssignee: Andrew Gvozdev <angvoz.dev>
Status: RESOLVED FIXED QA Contact: Andrew Gvozdev <angvoz.dev>
Severity: major    
Priority: P3    
Version: 6.0.2   
Target Milestone: 6.0.2   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch fixing the problem cdtdoug: iplog+

Description Martin Oberhuber CLA 2010-08-24 10:12:04 EDT
Created attachment 177312 [details]
Patch fixing the problem

When the following two Strings were externalized for bug 284549 in the CDT 6.0.2 branch, file "MakeMessages.properties" v1.14 did not get tagged with the required label:

   AbstractGCCBOPConsoleParser_EnteringDirectory=Entering directory
   AbstractGCCBOPConsoleParser_LeavingDirectory=Leaving directory

As a result, any scanner discovery in CDT 6.0.2 is never aware of the current directory, and therefore any relative path references are potentially invalid.

Attached patch fixes the problem (basically just advancing the tag to v1.14, and updating the Copyright year).
Comment 1 Andrew Gvozdev CLA 2010-08-24 11:12:36 EDT
Thanks for the correction, the patch committed on 6.0.X branch (6.0.3?).
Comment 2 CDT Genie CLA 2010-08-24 11:23:03 EDT
*** cdt cvs genie on behalf of agvozdev ***
bug 323498: [Scanner Discovery] Regression: Current Directory is never discovered in CDT 6.0.2
~1.14

[*] MakeMessages.properties 1.13.14.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/internal/core/MakeMessages.properties?root=Tools_Project&r1=1.13&r2=1.13.14.1