if (!Preferences.getPREF_RUN_WOBUILDER_ON_BUILD() || getProject() == null || !getProject().exists()) { monitor.done(); return; }
	public void invokeOldBuilder(int kind, Map args, IProgressMonitor monitor,			IResourceDelta delta) {		if (this.getProject() == null) {			monitor.done();			return;		}		monitor.beginTask(AntBuildMessages.getString("Build.Monitor.Title"),				WOAntBuilder.TOTAL_WORK_UNITS);		if (!Preferences.getPREF_RUN_WOBUILDER_ON_BUILD()				|| getProject() == null || !getProject().exists()) {			monitor.done();			return;		}		String aBuildFile = null;		try {			if (!projectNeedsAnUpdate(delta)					&& kind != IncrementalProjectBuilder.FULL_BUILD) {				monitor.done();				return;			}			aBuildFile = this.buildFile();			if (checkIfBuildfileExist(aBuildFile)) {				getProject().getFile(aBuildFile).deleteMarkers(						BuilderPlugin.MARKER_TASK_GENERIC, false,						IResource.DEPTH_ONE);				this.execute(monitor, aBuildFile);			}		} catch (Exception e) {			this.handleException(e);		}		aBuildFile = null;		/*		 * monitor.beginTask( BuildMessages.getString("Build.Refresh.Title"),		 * WOAntBuilder.TOTAL_WORK_UNITS);		 */		// this.forgetLastBuiltState();		// getProject().refreshLocal(IProject.DEPTH_INFINITE, monitor);		monitor.done();	}