Commit d05d9d1b authored by Derek DeMoro's avatar Derek DeMoro Committed by derek

Server starter should load all archives from lib directory, not bin/lib.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@108 b35dd754-fafc-0310-a699-88a17e54d16e
parent 44eaf9da
......@@ -192,6 +192,7 @@ public abstract class BootstrapContainer implements Container, ServiceLookupProv
loader = Thread.currentThread().getContextClassLoader();
if (setupMode) {
loadCorePlugins(getSetupModuleNames());
}
......@@ -349,7 +350,13 @@ public abstract class BootstrapContainer implements Container, ServiceLookupProv
File[] plugins = pluginDir.listFiles();
for (int i = 0; i < plugins.length; i++) {
if (plugins[i].isDirectory()) {
if (!setupMode) {
if (setupMode) {
// Only load web-admin plug-in
if ("admin".equals(plugins[i].getName())) {
loadPlugin(plugins[i]);
}
}
else {
loadPlugin(plugins[i]);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment