1
0
Fork 0
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:
James Blackburn 2010-06-21 13:20:50 +00:00
parent 98245be093
commit 872861770e

View file

@ -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