Bug 9159 Classpath wizard should not complain when adding missing source folder
Build 20020125 - Define a project A with source folder 'src1'. - Go to the .classpath file and edit it to insert one extra line: <classpathentry kind="src" path="src2"/> below the line referring to first source folder: <classpathentry kind="src" path="src1"/>. - Now, try to add this missing source folder 'src2', it isn't allowed by the wizard, one has to add a basic folder instead. Note: It is not such an uncommon scenario, the classpath modification could simply occur by catching up with a shared classpath having one more source folder on it, and which is locally missing.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
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) {
							res[0]= IRemoveOldBinariesQuery.YES;
						} else if (returnVal == 1) {
							res[0]= IRemoveOldBinariesQuery.NO;
						} else {
							res[0]= IRemoveOldBinariesQuery.CANCEL;
						}
					}
				});
				return res[0];
			}
		};