Bug 53582 Rebuild Project are not run in the background?
The "Build All" and "Rebuild All" actions are run in the background, but the "Build Project" and "Rebuild Project" actions aren't. This is not consistent and I was surprised to get a modal dialog when performing a "Rebuild Project".
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/BuildAction.java
}
	return false;
}
/* (non-Javadoc)
 * Method declared on WorkspaceAction.
 */
void invokeOperation(IResource resource, IProgressMonitor monitor) throws CoreException {
	((IProject)resource).build(buildType,monitor);
}
/**
 * Returns whether the user's preference is set to automatically save modified
 * resources before a manual build is done.
 *
 * @return <code>true</code> if Save All Before Build is enabled
 */
public static boolean isSaveAllSet() {
	IPreferenceStore store = IDEWorkbenchPlugin.getDefault().getPreferenceStore();
	return store.getBoolean(IDEInternalPreferences.SAVE_ALL_BEFORE_BUILD);
}
/* (non-Javadoc)
 * Method declared on WorkspaceAction.
 *
 * Change the order of the resources so that
 * it matches the build order. Closed and
 * non existant projects are eliminated. Also,
 * any projects in cycles are eliminated.
 */
List pruneResources(List resourceCollection) {
	
	if (resourceCollection.size() < 2)