Bug 37249 Export Javadoc does not give any error when the path to javadoc.exe is bogus
Version: 2.1.0 Build id: 200303272130 I had a bogus path to javadoc.exe in Preferences/Java/Javadoc. When I clicked Finish in the Export/Javadoc wizard, nothing happened. I gave up using the feature until today when I ran accross my bad Preference setting. Obviously, the wizard needed to give the user some kind of error message. (FYI, this happened when I upgraded my set up from Sun's 1.4.1_01 to 1.4.1_02.)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocWizard.java
} catch (IOException e) {
			JavaPlugin.log(e);
			return false;
		}
		return false;
	}
	/**
	 * Creates a list of all CompilationUnits and extracts from that list a list of dirty
	 * files. The user is then asked to confirm if those resources should be saved or
	 * not.
	 * 
	 * @return <code>true</code> if all preconditions are satisfied otherwise false
	 */
	private boolean checkPreconditions(IJavaElement[] elements) {
		ArrayList resources= new ArrayList();
		for (int i= 0; i < elements.length; i++) {
			if (elements[i] instanceof ICompilationUnit) {
				resources.add(elements[i].getResource());
			}
		}
		
		IFile[] unSavedFiles= getUnsavedFiles(resources);
		return saveModifiedResourcesIfUserConfirms(unSavedFiles);
	}
	/**
	 * Returns the files which are not saved and which are
	 * part of the files being exported.
	 * 
	 * @return an array of unsaved files
	 */