} else {
String path = uri.getPath();
if (path.toLowerCase().endsWith(".zip")) {
return new ZippedBootInstall(downloader, url, name);
} else {
return new GenericBootInstall(url, null, "Not a zip url: "+url);
}
}
} catch (Exception e) {
BootActivator.log(e);
return new GenericBootInstall(url, name, ExceptionUtil.getMessage(e));
}
}