Revision: 20007
http://sourceforge.net/p/gate/code/20007
Author: markagreenwood
Date: 2017-01-27 14:21:39 +0000 (Fri, 27 Jan 2017)
Log Message:
-----------
make sure the name field gets set even during reloading from a xgapp
Modified Paths:
--------------
gate/branches/sawdust2/gate-core/src/main/java/gate/creole/Plugin.java
Modified: gate/branches/sawdust2/gate-core/src/main/java/gate/creole/Plugin.java
===================================================================
--- gate/branches/sawdust2/gate-core/src/main/java/gate/creole/Plugin.java
2017-01-27 14:18:12 UTC (rev 20006)
+++ gate/branches/sawdust2/gate-core/src/main/java/gate/creole/Plugin.java
2017-01-27 14:21:39 UTC (rev 20007)
@@ -606,7 +606,7 @@
ModelBuilder modelBuilder = new
DefaultModelBuilderFactory().newInstance();
Model model = modelBuilder.build(req).getEffectiveModel();
-
+ name = group+":"+artifact+":"+version;
if (model.getName() != null && !model.getName().trim().equals("")) name
= model.getName();
/*System.out.println(model.getOrganization().getName());
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs