Bug 122505 [build path] Can't exclude folder if exclusion pattern disabled on project/workspace level
Version: 3.2.0 Build id: I20051220-0800 Create project with inclusion and exclusion patters disabled and no seperate src and output folder. On build path menu select 'New Source Folder' The wizard shows the error: Cannot nest 'P03/src' inside 'P03'. To enable the nesting exclude 'src/' from 'P03' But the check box is disabled (which is correct). The error should say something else.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/AddSourceFolderWizardPage.java
}
		}
	}
	
	private void updateFilters(IPath oldPath, IPath newPath) {
		if (oldPath == null)
			return;
		
		IPath projPath= fNewElement.getJavaProject().getProject().getFullPath();
		if (projPath.isPrefixOf(oldPath)) {
			oldPath= oldPath.removeFirstSegments(projPath.segmentCount()).addTrailingSeparator();
			newPath= newPath.removeFirstSegments(projPath.segmentCount()).addTrailingSeparator();
		}
		
		for (Iterator iter= fExistingEntries.iterator(); iter.hasNext();) {
			CPListElement element= (CPListElement)iter.next();
			IPath[] exlusions= (IPath[])element.getAttribute(CPListElement.EXCLUSION);
			if (exlusions != null) {
				for (int i= 0; i < exlusions.length; i++) {
					if (exlusions[i].equals(oldPath)) {
						fModifiedElements.add(element);
						exlusions[i]= newPath;
					}
				}
				element.setAttribute(CPListElement.EXCLUSION, exlusions);
			}
			
			IPath[] inclusion= (IPath[])element.getAttribute(CPListElement.INCLUSION);
			if (inclusion != null) {
				for (int i= 0; i < inclusion.length; i++) {