Author: mes
Date: 2012-07-30 16:45:09 -0700 (Mon, 30 Jul 2012)
New Revision: 30046

Modified:
   cytoscape/trunk/application/src/main/java/cytoscape/plugin/PluginManager.java
Log:
fixes problem that was breaking loading plugins specified as URLs on the 
command line

Modified: 
cytoscape/trunk/application/src/main/java/cytoscape/plugin/PluginManager.java
===================================================================
--- 
cytoscape/trunk/application/src/main/java/cytoscape/plugin/PluginManager.java   
    2012-07-30 23:00:42 UTC (rev 30045)
+++ 
cytoscape/trunk/application/src/main/java/cytoscape/plugin/PluginManager.java   
    2012-07-30 23:45:09 UTC (rev 30046)
@@ -904,8 +904,7 @@
                                }
 
                                // try to get class name from the manifest file
-                               String className = 
JarUtil.getPluginClass(jar.getName(),
-                                               PluginInfo.FileType.JAR);
+                               String className = 
JarUtil.getManifestAttribute(jar.getManifest());
 
                                if (className != null) {
                                        Class pc = getPluginClass(className);

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to