Bug 16733 Builder pref - Cannot exclude folder from resource copying
Build 20020521 - F1 UI builder pref page currently prevents enter a folder name for the resource copy exclusion filter (folder is specified with a '/' suffix). Since 20020521, JDT/Core now supports excluding folders: The setting allowing for filtering resource copy now also supports folder filtering. Folder names are recognized by their '/' suffix, e.g. "META-INF/" specifies filtering out all folder named 'META-INF' (and their contents)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBuilderPreferencePage.java
updateStatus(status);
	}
	
	private String[] getFilters(String text) {
		StringTokenizer tok= new StringTokenizer(text, ","); 
		int nTokens= tok.countTokens();
		String[] res= new String[nTokens];
		for (int i= 0; i < res.length; i++) {
			res[i]= tok.nextToken().trim();
		}
		return res;
	}
	
	
	private IStatus validateResourceFilters() {
		IWorkspace workspace= ResourcesPlugin.getWorkspace();
				
		String text= fResourceFilterField.getText();
		String[] filters= getFilters(text);
		for (int i= 0; i < filters.length; i++) {
			String fileName= filters[i].replace('*', 'x');
			IStatus status= workspace.validateName(fileName, IResource.FILE);
			if (status.matches(IStatus.ERROR)) {
				String message= JavaUIMessages.getFormattedString("JavaBuilderPreferencePage.filter.invalidsegment.error", status.getMessage()); 
				return new StatusInfo(IStatus.ERROR, message);
			}
		}
		StringBuffer buf= new StringBuffer();
		for (int i= 0; i < filters.length; i++) {
			if (i > 0) {