mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 01:15:29 +02:00
Bug 317402 Not all builders invoked for referenced projects. Partial revert of patch on bug 291751
This commit is contained in:
parent
98245be093
commit
872861770e
1 changed files with 0 additions and 11 deletions
|
@ -61,17 +61,6 @@ public class BuildGroup extends CViewActionGroup {
|
|||
super(shell, kind);
|
||||
}
|
||||
@Override
|
||||
protected boolean shouldPerformResourcePruning() {
|
||||
// If the selected resources aren't new-style CDT projects, then
|
||||
// fall-back to parent behaviour.
|
||||
// For CDT projects, we only want 'build' to be called on the top-level
|
||||
// selected project(s)
|
||||
for (Object res : getSelectedResources())
|
||||
if (!(res instanceof IProject) || !CCorePlugin.getDefault().isNewStyleProject((IProject)res))
|
||||
return super.shouldPerformResourcePruning();
|
||||
return false;
|
||||
}
|
||||
@Override
|
||||
@SuppressWarnings("unchecked")
|
||||
public void run() {
|
||||
// Ensure we correctly save files in all referenced projects before build
|
||||
|
|
Loading…
Add table
Reference in a new issue