Bug 15544 JavaDoc wizard includes non-selected packages
If you have two source folders: src and test, and tell the JavaDoc wizard to use only the packages in src, it will include any matching packages from the test source folder. Eg. If I have select the package 'ca.beq.tundra' in the 'src' folder, the generated JavaDocs will also include classes from the 'ca.beq.tundra' package in the 'test' folder. Using integration build 0502.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
IPackageFragmentRoot[] roots= project.getPackageFragmentRoots();
			int nAdded= 0;
			for (int i= 0; i < roots.length; i++) {
				IPackageFragmentRoot curr= roots[i];
				if (curr.getKind() == IPackageFragmentRoot.K_SOURCE) {
					if (nAdded != 0) {
						buf.append(File.pathSeparatorChar);
					}
					buf.append(curr.getUnderlyingResource().getLocation().toOSString());
					nAdded++;
				}
			}
		} catch (JavaModelException e) {
			JavaPlugin.logIgnoringNotPresentException(e);
		}
		return buf.toString();
	}
	private String getClassPath(IJavaProject javaProject) {
		StringBuffer buf= new StringBuffer();
		try {
			IPath outputLocation= javaProject.getProject().getLocation().append(javaProject.getOutputLocation());
			String[] classPath= JavaRuntime.computeDefaultRuntimeClassPath(javaProject);
			int nAdded= 0;
			for (int i= 0; i < classPath.length; i++) {
				String curr= classPath[i];
				if (outputLocation.equals(new Path(curr))) {
					continue;
				}
				if (nAdded != 0) {
					buf.append(File.pathSeparatorChar);