String pluginName = attrs.getValue("Plugin-Name") == null ? "":attrs.getValue("Plugin-Name");
String author = attrs.getValue("Author") == null ? "":attrs.getValue("Author");
plugin.setAuthor(author);
plugin.setPluginName(pluginName);
try{
pluginAPI.save(plugin);
} catch (DotDataException e2) {
Logger.fatal(this, "Method loadPlugins : Error deploying plugin id:" + id, e2);
continue;
}
loadPluginProperties(jar, plugin.getId());