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/BuildAction.java
return orderedProjects;
    }
    /* (non-Javadoc)
     * Method declared on IAction; overrides method on WorkspaceAction.
     * This override allows the user to save the contents of selected
     * open editors so that the updated contents will be used for building.
     */
    public void run() {
        
        saveAllResources();
        runInBackground(ResourcesPlugin.getWorkspace().getRuleFactory()
                .buildRule(), ResourcesPlugin.FAMILY_MANUAL_BUILD);
    }
    /**
     * Causes all editors to save any modified resources depending on the user's
     * preference.
     */
    void saveAllResources() {
        List projects = getProjectsToBuild();
        if (projects == null || projects.isEmpty())
            return;
        if (!isSaveAllSet())
            return;
        IWorkbenchWindow[] windows = PlatformUI.getWorkbench()
                .getWorkbenchWindows();
        for (int i = 0; i < windows.length; i++) {
            IWorkbenchPage[] pages = windows[i].getPages();
            for (int j = 0; j < pages.length; j++) {
                IWorkbenchPage page = pages[j];
                IEditorPart[] editors = page.getDirtyEditors();