Bug 296800 [GlobalActions] UI build actions should not lock the workspace
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/GlobalBuildAction.java
* Returns the operation name to use
     */
    private String getOperationMessage() {
        if (buildType == IncrementalProjectBuilder.INCREMENTAL_BUILD) {
			return IDEWorkbenchMessages.GlobalBuildAction_buildOperationTitle;
		}
        return IDEWorkbenchMessages.GlobalBuildAction_rebuildAllOperationTitle;
    }
    /**
     * Builds all projects within the workspace. Does not save any open editors.
     */
    public void doBuild() {
        doBuildOperation();
    }
    /**
     * Invokes a build on all projects within the workspace. Reports any errors
     * with the build to the user.
     */
    void doBuildOperation() {
        Job buildJob = new Job(IDEWorkbenchMessages.GlobalBuildAction_jobTitle) {
            /*
             * (non-Javadoc)
             * 
             * @see org.eclipse.core.runtime.jobs.Job#run(org.eclipse.core.runtime.IProgressMonitor)
             */
            protected IStatus run(IProgressMonitor monitor) {
                monitor.beginTask(getOperationMessage(), 100);
                try {
                    ResourcesPlugin.getWorkspace().build(buildType,
                            new SubProgressMonitor(monitor, 100));