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
Shell shell= null;
			if (fSWTWidget != null && !fSWTWidget.getShell().isDisposed()) {
				shell= fSWTWidget.getShell();
			}
			
			internalConfigureJavaProject(fClassPathList.getElements(), getOutputLocation(), shell, monitor);
		} finally {
			monitor.done();
		}
	}
	
	/**
	 * Creates the Java project and sets the configured build path and output location.
	 * If the project already exists only build paths are updated.
	 */
	private void internalConfigureJavaProject(List classPathEntries, IPath outputLocation, Shell shell, IProgressMonitor monitor) throws CoreException, InterruptedException {
		
		
		IRemoveOldBinariesQuery reorgQuery= null;
		if (shell != null) {
			reorgQuery= getRemoveOldBinariesQuery(shell);
		}
		
		if (reorgQuery != null) {
			IPath oldOutputLocation= fCurrJProject.getOutputLocation();
			if (!outputLocation.equals(oldOutputLocation)) {
				IResource res= fWorkspaceRoot.findMember(oldOutputLocation);
				if (res instanceof IContainer && hasClassfiles(res)) {
					if (reorgQuery.doQuery(oldOutputLocation)) {
						removeOldClassfiles(res);