findbugsEngine.setTimeout(new Long(timeout));
findbugsEngine.setTimeout(timeout);
	public void execute() throws BuildException {		findbugsEngine = (Java)getProject().createTask("java");				findbugsEngine.setTaskName(getTaskName());		findbugsEngine.setFork(true);				if (timeout > 0) {			findbugsEngine.setTimeout(new Long(timeout));		}						if (debug) {			jvmargs = jvmargs + " -Dfindbugs.debug=true";		}		findbugsEngine.createJvmarg().setLine(jvmargs);				if (homeDir != null) {			// Use findbugs.home to locate findbugs.jar and the standard			// plugins.  This is the usual means of initialization.						findbugsEngine.setJar( new File( homeDir + File.separator + "lib" +					File.separator + FINDBUGSGUI_JAR ) );						addArg("-home");			addArg(homeDir.getPath());		}		else {			// Use an explicitly specified classpath and list of plugin Jars			// to initialize.  This is useful for other tools which may have			// FindBugs installed using a non-standard directory layout.						findbugsEngine.setClasspath(classpath);			findbugsEngine.setClassname("edu.umd.cs.findbugs.FindBugsFrame");						addArg("-pluginList");			addArg(pluginList.toString());		}				if (projectFile != null) {			addArg("-project");			addArg(projectFile.getPath());		}				if (loadbugs != null) {			addArg("-loadbugs");			addArg(loadbugs.getPath());		}				if (look != null) {			addArg("-look:" + look);			//addArg("-look");			//addArg(look);		}						// findbugsEngine.setClassname("edu.umd.cs.findbugs.gui.FindBugsFrame");				log("Launching FindBugs Viewer...");				int rc = findbugsEngine.executeJava();				if ((rc & ExitCodes.ERROR_FLAG) != 0) {			throw new BuildException("Execution of findbugs failed.");		}		if ((rc & ExitCodes.MISSING_CLASS_FLAG) != 0) 	{			log("Classes needed for analysis were missing");		}	}