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
fNoindex= loadbutton(settings.get(NOINDEX));
			fNotree= loadbutton(settings.get(NOTREE));
			fSplitindex= loadbutton(settings.get(SPLITINDEX));
			fOpenInBrowser= loadbutton(settings.get(OPENINBROWSER));
			
			loadLinksFromDialogSettings(settings);
		} else
			loadDefaults(sel);
	}
	private String getDefaultAntPath(IJavaProject project) {
		if (project != null) {
			IPath path= project.getProject().getLocation();
			if (path != null)
				return path.append("javadoc.xml").toOSString(); 
		}
		return ""; 
	}
	private String getDefaultDestination(IJavaProject project) {
		if (project != null) {
			URL url= JavaUI.getProjectJavadocLocation(project);
			
			if (url == null || !url.getProtocol().equals("file")) { 
				IPath path= project.getProject().getLocation();
				if (path != null)
					return path.append("doc").toOSString(); 
			} else {
				
				return (new File(url.getFile())).getPath();
			}
		}