throw new BuildException("null sharedLibURI - sharedLibURI should be an archive");
}
if (sharedLibURI.endsWith(".zip") || sharedLibURI.endsWith(".jar")){
try {
FrameworkInstallationService is = getInstallationService();
is.installSharedLibrary(sharedLibURI);
}
catch (IOException e) {
log.error("Caught an exception getting the installation service",e);
throw new BuildException(e);
}