conf.set("hoop.base.url", getJettyURL().toExternalForm());
conf.set("hoop.proxyuser." + getHadoopProxyUser() + ".groups", getHadoopProxyUserGroups());
conf.set("hoop.proxyuser." + getHadoopProxyUser() + ".hosts", getHadoopProxyUserHosts());
File hoopSite = new File(new File(homeDir, "conf"), "hoop-site.xml");
OutputStream os = new FileOutputStream(hoopSite);
conf.writeXml(os);
os.close();
File currentDir = new File("foo").getAbsoluteFile().getParentFile();
if (currentDir.getName().equals("target")) {
currentDir = currentDir.getParentFile();