Bug 13034 Cannot create a Source Folder in a new Java Project
build 20020404 If you try and create a Source Folder in a Java Project you have just created you get an error preventing you from hitting finish. STEPS 1) Create Java Project Foo 2) Open New->Source Folder 3) Enter Bar as the name - you will get "Cannot nest entry Bar inside entry Foo/Bar" 4) Create a folder Bar. 5) Add it as a source folder in the Properties Dialog for Foo. No problem.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
final IPath path= getOutputLocation();
		
		return new IRunnableWithProgress() {
			public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
				if (monitor == null) {
					monitor= new NullProgressMonitor();
				}				
				monitor.beginTask(NewWizardMessages.getString("BuildPathsBlock.operationdesc"), 10); 
				try {
					createJavaProject(classPathEntries, path, reorgQuery, monitor);
				} catch (CoreException e) { 
					throw new InvocationTargetException(e);			
				} finally {
					monitor.done();
				}
			}
		};
	}
	
	public IRemoveOldBinariesQuery getRemoveOldBinariesQuery(final Shell shell) {
		return new IRemoveOldBinariesQuery() {
			public int doQuery(final IPath oldOutputLocation) {
				final int[] res= new int[] { IRemoveOldBinariesQuery.NO };
				shell.getDisplay().syncExec(new Runnable() {
					public void run() {
						String title= NewWizardMessages.getString("BuildPathsBlock.RemoveBinariesDialog.title"); 
						String message= NewWizardMessages.getFormattedString("BuildPathsBlock.RemoveBinariesDialog.description", oldOutputLocation.toString()); 
						MessageDialog dialog= new MessageDialog(getShell(), title, null, message, MessageDialog.QUESTION, new String[] { IDialogConstants.YES_LABEL, IDialogConstants.NO_LABEL, IDialogConstants.CANCEL_LABEL }, 2);
						int returnVal= dialog.open();
						if (returnVal == 0) {