LOGGER.log(Level.INFO, "install start for Hadoop Ruby");
StreamTaskListener listener = new StreamTaskListener(System.out);
File rootDir = Hudson.getInstance().getRootDir();
rootDir = new File(rootDir, "hadoop-ruby");
FilePath distDir = new FilePath(rootDir);
distDir.installIfNecessaryFrom(ItemListenerImpl.class
.getResource("hadoop-ruby.tgz"), listener, "Hadoop Ruby");
LOGGER.log(Level.INFO, "install finished for Hadoop Ruby");
} catch (Exception e) {
LOGGER.log(Level.WARNING, "Failed to install Hadoop Ruby", e);