Bug 99732 [build path] Exclusion filters are added on new source folder when unnecessary
In RC2. If you add a source folder inside another source folder, the outer folder's exclusion filters are updated to avoid ambiguity. Now, remove the inner folder from the class path, and re-add it. Every time this is done, the inner folder is added to the outer folder's exclusion filter, ad infinitum.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java
}
			}
		}
		if (!srcelements.isEmpty()) {
			int insertPos= Math.min(afterLastSourcePos, lastRemovePos);
			cpelements.addAll(insertPos, srcelements);
		}
		
		if (lastRemovePos != nEntries || !srcelements.isEmpty()) {
			fClassPathList.setElements(cpelements);
		}
	}
	
    private CPListElement openNewLinkedSourceContainerDialog(CPListElement element) {
    	
    	LinkFolderDialog dialog= new LinkFolderDialog(getShell(), fCurrJProject.getProject(), false);
    	if (element != null) {
	    	dialog.setName(element.getResource().getName());
	    	dialog.setLinkTarget(element.getLinkTarget().toOSString());
    	}
    	
        if (dialog.open() == Window.OK) {
            IResource createdLink= dialog.getCreatedFolder();
            IPath linkTarget= dialog.getLinkTarget();
            CPListElement result= new CPListElement(fCurrJProject, IClasspathEntry.CPE_SOURCE, createdLink.getFullPath(), createdLink);
            result.setLinkTarget(linkTarget);
			return result;
        }
		return null;
	}