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/src/org/eclipse/ui/internal/ide/actions/BuildUtilities.java
* @param projects The projects to check
	 * @param trigger The trigger to look for
	 * @param value The trigger value to look for
	 * @return <code>true</code> if one of the projects has a builder whose
	 * trigger activation matches the provided value, and <code>false</code> otherwise.
	 */
	private static boolean matchingTrigger(IProject[] projects, int trigger, boolean value) {
		for (int i = 0; i < projects.length; i++) {
			if (!projects[i].isAccessible())
				continue;
			try {
				IProjectDescription description = projects[i].getDescription();
				ICommand[] buildSpec = description.getBuildSpec();
				for (int j = 0; j < buildSpec.length; j++) {
					if (buildSpec[j].isBuilding(trigger) == value)
						return true;
				}
			} catch (CoreException e) {
				
			}
		}
		return false;
	}
	/**
	 * Doesn't need to be instantiated
	 */
	private BuildUtilities() {
	}
}