Bug 459457 - Internal builder fail with custom EFS
Summary: Internal builder fail with custom EFS
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build-managed (show other bugs)
Version: 8.6.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-09 08:38 EST by Martin Richter CLA
Modified: 2020-09-04 15:26 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Richter CLA 2015-02-09 08:38:38 EST
Steps to reproduce:
1. Install Eclipse, CDT, RTC
2. In CDT, create a new project based on Cross GCC toolchain and Hello World C++ template
3. Configure your toolchain
4. Verify that the project builds successfully
5. Share the project in Jazz Source Control (RTC SCM)
6. Modify the source file
7. Rebuild

Result:
Info: Nothing to build for Test

Only when you delete the binary file generated in step 4. is deleted, the project rebuilds.

Reproducible on CDT 8.6.0.201502081104.

Similar to bug 423342.
Comment 1 Piotr Aniola CLA 2015-02-09 09:16:58 EST
Thanks, I will look into that.

Please share Eclipse and RTC versions you're using.
Comment 2 Martin Richter CLA 2015-02-09 09:28:29 EST
Used Versions:

Eclipse IDE for C/C++ Developers: 4.4.1.20150109-0740
Rational Team Concert Client Feature: 4.5.300.RTC-I20141031-0926
C/C++ Development Tools SDK: 8.6.0.201502081104
Comment 3 Marc-André Laperle CLA 2015-10-22 15:44:22 EDT
Using the sample EFS plugin from bug 378882, I was able to reproduce a similar issue.
In BuildDescription.RcVisitor.postProcessVisit, getBuildResource returns null for the modified source file. I'm not sure what would need to be changed to fix this but I thought at least I'd give a hint where to look.