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