Bug 11826 Build exclusion filter should be trimmed prior to storing
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBuilderPreferencePage.java
updateStatus(status);
	}
	
	private IStatus validateResourceFilters() {
		IWorkspace workspace= ResourcesPlugin.getWorkspace();
		
		String text= fResourceFilterField.getText();
		StringTokenizer tok= new StringTokenizer(text, ",");
		while (tok.hasMoreTokens()) {
			String curr= tok.nextToken().trim();
			String fileName= curr.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);
			}
		}
		return new StatusInfo();
	}
	
	private void updateStatus(IStatus status) {
		setValid(!status.matches(IStatus.ERROR));
		StatusUtil.applyToStatusLine(this, status);
	}
	private void doFullBuild() {
		ProgressMonitorDialog dialog= new ProgressMonitorDialog(getShell());
		try {
			dialog.run(true, true, new IRunnableWithProgress() {
				public void run(IProgressMonitor monitor) throws InvocationTargetException {
					try {