Commit cdeae85d authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added web folder to class loader. JM-1021

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@7825 b35dd754-fafc-0310-a699-88a17e54d16e
parent fd50c7b2
......@@ -11,8 +11,8 @@
package org.jivesoftware.openfire.container;
import org.jivesoftware.util.Log;
import org.jivesoftware.openfire.XMPPServer;
import org.jivesoftware.util.Log;
import java.io.File;
import java.io.FilenameFilter;
......@@ -78,6 +78,12 @@ public class PluginClassLoader {
list.add(i18nDir.toURL());
}
// Add web directory to classpath.
File webDir = new File(directory, "web");
if(webDir.exists()){
list.add(webDir.toURL());
}
// Add lib directory to classpath.
File libDir = new File(directory, "lib");
File[] jars = libDir.listFiles(new FilenameFilter() {
......
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