| Summary: | Dependent projects are not refreshed during headless build | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Dmitry Kozlov <ddk> | ||||||
| Component: | cdt-build | Assignee: | cdt-build-inbox <cdt-build-inbox> | ||||||
| Status: | NEW --- | QA Contact: | Jonah Graham <jonah> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | cdtdoug, jamesblackburn+eclipse, sly_06, yevshif | ||||||
| Version: | 8.0 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 309769 | ||||||||
| Attachments: |
|
||||||||
|
Description
Dmitry Kozlov
Created attachment 180964 [details]
Projects to reproduce problem.
We've completely re-written the way dependent projects are built for 8.0. They'll be built by the platform, not implicitly as part of the top-level build. There are a whole slew of bugs like this that will just disappear once this work has been committed back. Created attachment 180970 [details]
Proposed patch
I suggest to use new option -refresh which forces workspace to refresh before build.
Actually I've got a patch very similar in our HeadlessBuilder, except it's non optional. Things go wrong - such as environment etc. from .settings if the WS isn't in sync. => I think refresh before headless build should be the default. I have opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=375882 Which isn't 100% similar but might be related. All the dependencies are getting build, but the order defined under 'Project Settings->c/c++ General->Paths and Symbols->References' isn't taken into consideration. Here's a detailed explanation http://www.eclipse.org/forums/index.php/mv/msg/313603/825548/ |