Bug 4974 Set classpath / output location should be one operation
204: 1. create a project with 'src' as source folder and 'bin' as output location. 2. in the project properties change the setting to use the project as source folder and the project as output location. Press Ok You get the error message: 'Cannot nest outputfolder /xy in source folder /xy/src' The problem is that setting outputlocation and classpath are two operations. By setting the first, an illegal state is created. -> Like the validation (checking classpath and outputlocation at once), the setting of classpath / output location should be offered as one operation. Note that the error message is strange. I guess it should say: '/xy/src' can not be nested in '/xy'
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
fProjectsPage.init(fCurrJProject);
			fLibrariesPage.init(fCurrJProject);
		}
		
		doStatusLineUpdate();
	}	
	
	
	
	/**
	 * Returns the Java project. Can return <code>null<code> if the page has not
	 * been initialized.
	 */
	public IJavaProject getJavaProject() {
		return fCurrJProject;
	}
	
	/**
	 * Returns the current output location. Note that the path returned must not be valid.
	 */	
	public IPath getOutputLocation() {
		return new Path(fBuildPathDialogField.getText()).makeAbsolute();
	}
	
	/**
	 * Returns the current class path (raw). Note that the entries returned must not be valid.
	 */	
	public IClasspathEntry[] getRawClassPath() {
		List elements=  fClassPathList.getElements();
		int nElements= elements.size();