Bug 20666 Export JavaDoc should examine jdk compliance
The Export Javadoc wizard should examine the jdk1.3/jdk1.4 compliance for a project and add the appropriate javadoc switch by default to the javadoc args viewer. Result of not fixing: Javadoc users will get errors in the console complaining about all their assert statements, and then have to figure out the switches to add to correct this problem.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java
} catch (CoreException e) {
				JavaPlugin.log(e);
				fWizardStatus.setWarning(JavadocExportMessages.getString("JavadocOptionsManager.antfileincorrectCE.warning")); 
				loadStore(settings, currSelection);
			} catch (IOException e) {
				JavaPlugin.log(e);
				fWizardStatus.setWarning(JavadocExportMessages.getString("JavadocOptionsManager.antfileincorrectIOE.warning")); 
				loadStore(settings, currSelection);
			} catch (SAXException e) {
				fWizardStatus.setWarning(JavadocExportMessages.getString("JavadocOptionsManager.antfileincorrectSAXE.warning")); 
				loadStore(settings, currSelection);
			}
		} else
			loadStore(settings, currSelection);
	}
	private void loadStore(IDialogSettings settings, ISelection sel) {
		if (settings != null) {
			
			fSelectedElements= getValidSelection(sel);
			fAccess= settings.get(VISIBILITY);
			if (fAccess == null)
				fAccess= PROTECTED;
			
			fFromStandard= settings.getBoolean(FROMSTANDARD);
			
			fDocletpath= settings.get(DOCLETPATH);
			fDocletname= settings.get(DOCLETNAME);
			if (fDocletpath == null || fDocletname == null) {
				fFromStandard= true;
				fDocletpath= "";