Bug 85587 [IDE] Save before clean all
The test plan for Platform UI states that a build should prompt to save unsaved resources. However, when we "clean all", no such prompt appears. Should it?
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/GlobalBuildAction.java
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) {
                final MultiStatus status = new MultiStatus(
                        PlatformUI.PLUGIN_ID, 0, IDEWorkbenchMessages.GlobalBuildAction_buildProblems,
                        null);
                monitor.beginTask(getOperationMessage(), 100); 
                try {
                    ResourcesPlugin.getWorkspace().build(buildType,
                            new SubProgressMonitor(monitor, 100));
                } catch (CoreException e) {
                    status.add(e.getStatus());
                } finally {
                    monitor.done();
                }
                return status;
            }
            /*
             * (non-Javadoc)