logger.warn(
"Error installing eclim installer feature, " +
"attempting uninstall/reinstall.");
// attempt to uninstall the feature
Command uninstall = new UninstallCommand(
null, url, "org.eclim.installer", "org.eclipse.equinox.p2.director");
uninstall.start();
uninstall.join();
// now try to install again
command = new InstallCommand(
null, url, "org.eclim.installer", "org.eclipse.equinox.p2.director");
command.start();