diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/BuildGroup.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/BuildGroup.java index a83423d3820..cb160bcbc6b 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/BuildGroup.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/BuildGroup.java @@ -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