Bug 273147 [Build] Report build problems as ERROR severity
Currently the BuildManager reports problems with severity of WARNING. Warnings are no longer surfaced in the UI, so we should increase this severity to ERROR.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/GlobalBuildAction.java
}
        workbenchWindow = null;
    }
    /**
     * Verify that no manual build is running. If it is then give the use the
     * option to cancel. If they cancel, cancel the jobs and return true,
     * otherwise return false.
     * 
     * @return whether or not there is a manual build job running.
     */
    private boolean verifyNoManualRunning() {
		Job[] buildJobs = Job.getJobManager().find(
                ResourcesPlugin.FAMILY_MANUAL_BUILD);
        if (buildJobs.length == 0) {
			return true;
		}
        boolean cancel = MessageDialog.openQuestion(getShell(),
                IDEWorkbenchMessages.GlobalBuildAction_BuildRunningTitle,
                IDEWorkbenchMessages.GlobalBuildAction_BuildRunningMessage);
        if (cancel) {
            for (int i = 0; i < buildJobs.length; i++) {
                Job job = buildJobs[i];
                job.cancel();
            }
        }
        
        return false;
    }
}