if(this.getDelta(this.getProject()) == null) RunAnt.asAnt( getProject() .getFile(aBuildFile) .getLocation() .toOSString(), monitor, this.cleanTarget());
	protected IProject[] build(int kind, Map args, IProgressMonitor monitor)		throws CoreException {		monitor.beginTask(			BuildMessages.getString("Build.Monitor.Title"),			WOBuilder.TOTAL_WORK_UNITS);		if (!Preferences			.getBoolean(IWOLipsPluginConstants.PREF_RUN_WOBUILDER_ON_BUILD)			|| getProject() == null			|| !getProject().exists()) {			monitor.done();			return null;		}		Exception anException = null;		try {			getProject().deleteMarkers(				IMarker.TASK,				false,				IResource.DEPTH_ONE);			if(!projectNeedsAnUpdate() && kind != WOBuilder.FULL_BUILD) {				monitor.done();				return null;				} 			String aBuildFile = this.buildFile();			if (checkIfBuildfileExist(aBuildFile)) {				getProject().getFile(aBuildFile).deleteMarkers(					IMarker.TASK,					false,					IProject.DEPTH_ONE);				if (Preferences					.getBoolean(						IWOLipsPluginConstants							.PREF_RUN_ANT_AS_EXTERNAL_TOOL)) {					RunAnt.asExternalTool(						getProject().getFile(aBuildFile),						kind,						monitor,						this.defaultTarget());				} else {					RunAnt.asAnt(						getProject()							.getFile(aBuildFile)							.getLocation()							.toOSString(),						monitor,						this.defaultTarget());				}			}		} catch (Exception e) {			this.handleException(e);		}		monitor.done();		return null;	}