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
for (Iterator iter= existingEntries.iterator(); iter.hasNext();) {
			CPListElement element= (CPListElement)iter.next();
			IPath[] exlusions= (IPath[])element.getAttribute(CPListElement.EXCLUSION);
			if (exlusions != null) {
				fOrginalExlusionFilters.put(element, exlusions);
			}
			IPath[] inclusions= (IPath[])element.getAttribute(CPListElement.INCLUSION);
			if (inclusions != null) {
				fOrginalInclusionFilters.put(element, inclusions);
			}
		}
		
		setTitle(NewWizardMessages.NewSourceFolderWizardPage_title);
		fOrginalPath= newElement.getPath();
		if (fOrginalPath == null) {
			setDescription(NewWizardMessages.NewSourceFolderWizardPage_description);
		} else {
			setDescription(NewWizardMessages.NewSourceFolderWizardPage_edit_description);
		}
		
		fNewElement= newElement;
		fExistingEntries= existingEntries;
		fModifiedElements= new ArrayList();
		fRemovedElements= new ArrayList();
		fOutputLocation= outputLocation;
		
		RootFieldAdapter adapter= new RootFieldAdapter();
		
		fRootDialogField= new StringButtonDialogField(adapter);
		fRootDialogField.setLabelText(NewWizardMessages.NewSourceFolderWizardPage_root_label);