mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-04 23:55:52 +00:00
modified to parse "Plugin-Dependencies" manifest entry.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2312 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
7ef53f943a
commit
b5733d63be
3 files changed
+62
-5
No files matched your search
@@ -80,6 +80,16 @@ public final class PluginManager {
|
||||
LOGGER.log(Level.SEVERE, "Failed to load a plug-in " + arc, e);
|
||||
}
|
||||
}
|
||||
|
||||
for (PluginWrapper p : activePlugins.toArray(new PluginWrapper[0]))
|
||||
try {
|
||||
p.load(this);
|
||||
} catch (IOException e) {
|
||||
failedPlugins.add(new FailedPlugin(p.getShortName(),e));
|
||||
LOGGER.log(Level.SEVERE, "Failed to load a plug-in " + p.getShortName(), e);
|
||||
activePlugins.remove(p);
|
||||
plugins.remove(p);
|
||||
}
|
||||
}
|
||||
|
||||
public List<PluginWrapper> getPlugins() {
|
||||
|
||||
Reference in new issue
Block a user