mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
Adding in new jingle ui. More work to go.
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@7385 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
@ -23,8 +23,6 @@ import org.jivesoftware.spark.util.URLFileSystem;
|
||||
import org.jivesoftware.spark.util.log.Log;
|
||||
import org.jivesoftware.sparkimpl.settings.JiveInfo;
|
||||
|
||||
import javax.swing.SwingUtilities;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.FilenameFilter;
|
||||
@ -44,6 +42,8 @@ import java.util.jar.JarEntry;
|
||||
import java.util.jar.JarFile;
|
||||
import java.util.zip.ZipFile;
|
||||
|
||||
import javax.swing.SwingUtilities;
|
||||
|
||||
/**
|
||||
* This manager is responsible for the loading of all Plugins and Workspaces within Spark environment.
|
||||
*
|
||||
@ -517,15 +517,12 @@ public class PluginManager implements MainWindowListener {
|
||||
if (pluginXML.exists()) {
|
||||
try {
|
||||
classLoader.addPlugin(file);
|
||||
loadPublicPlugin(file);
|
||||
}
|
||||
catch (MalformedURLException e) {
|
||||
catch (Throwable e) {
|
||||
Log.error("Unable to load dirs", e);
|
||||
}
|
||||
|
||||
loadPublicPlugin(file);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user