Bug 28054 awkward to change default output folder
Build I20021210 1. Create a new Java project P1 On the Java Settings page hit the Browse next to Default output folder. Observe: The dialog is empty, shows an error "No entries available", and only allows Cancel. Expectation: As with other dialogs, it would be better if I had an opportunity to create folders at this time. unable to create a linked output folder
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
}
			
			classpath[i]= entry.getClasspathEntry();
						
			
			URL javadocLocation= (URL) entry.getAttribute(CPListElement.JAVADOC);
			IPath path= entry.getPath();
			if (entry.getEntryKind() == IClasspathEntry.CPE_VARIABLE) {
				path= JavaCore.getResolvedVariablePath(path);
			}
			if (path != null) {
				JavaUI.setLibraryJavadocLocation(path, javadocLocation);
			}
		}	
		monitor.worked(1);
				
		fCurrJProject.setRawClasspath(classpath, outputLocation, new SubProgressMonitor(monitor, 7));		
	}
	
	public static boolean hasClassfiles(IResource resource) throws CoreException {
		if (resource.isDerived()) { 
			return true;
		}		
		if (resource instanceof IContainer) {
			IResource[] members= ((IContainer) resource).members();
			for (int i= 0; i < members.length; i++) {
				if (hasClassfiles(members[i])) {
					return true;
				}
			}