Revision: 18152
          http://sourceforge.net/p/gate/code/18152
Author:   markagreenwood
Date:     2014-07-04 07:37:58 +0000 (Fri, 04 Jul 2014)
Log Message:
-----------
if we are using the plugin name mapping stuff to move from an old plugin to a 
new one then we should register the new directory name not the old one, 
otherwise the plugin manager shows an error as it tries to load from a 
nonexistant folder; this also explains why you got too copies of the stanford 
apps after loading one of them

Modified Paths:
--------------
    gate/trunk/src/main/gate/creole/CreoleRegisterImpl.java

Modified: gate/trunk/src/main/gate/creole/CreoleRegisterImpl.java
===================================================================
--- gate/trunk/src/main/gate/creole/CreoleRegisterImpl.java     2014-07-04 
07:22:57 UTC (rev 18151)
+++ gate/trunk/src/main/gate/creole/CreoleRegisterImpl.java     2014-07-04 
07:37:58 UTC (rev 18152)
@@ -267,7 +267,8 @@
 
         try {
           log.warn("Trying to use new plugin name for " + pluginName);
-          directoryXmlFileUrl = new URL(urlName + "creole.xml");
+          directoryUrl = new URL(urlName);
+          directoryXmlFileUrl = new URL(directoryUrl, "creole.xml");
           creoleStream = directoryXmlFileUrl.openStream();
           log.warn("Please note that plugin names have changed. "
             + "Please correct your application to rename " + pluginName

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to