geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r705490 - /geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/plugin/PluginManagerImpl.java
Date Fri, 17 Oct 2008 06:25:25 GMT
Author: jdillon
Date: Thu Oct 16 23:25:25 2008
New Revision: 705490

URL: http://svn.apache.org/viewvc?rev=705490&view=rev
Log:
Fixed de-serialization of ClassPathImpl records

Modified:
    geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/plugin/PluginManagerImpl.java

Modified: geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/plugin/PluginManagerImpl.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/plugin/PluginManagerImpl.java?rev=705490&r1=705489&r2=705490&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/plugin/PluginManagerImpl.java
(original)
+++ geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/plugin/PluginManagerImpl.java
Thu Oct 16 23:25:25 2008
@@ -164,7 +164,7 @@
         ClassPath classPath;
         XStoreRecord record = xstore.resolveRecord(artifact.getGroupId() + "/" + artifact.getArtifactId()
+ "/classpath.xml"); // FIXME: Get state directory from application/branding
         if (record.exists()) {
-            classPath = record.get(ClassPath.class);
+            classPath = record.get(ClassPathImpl.class);
             log.debug("Loaded classpath from cache: {}", record);
         }
         else {
@@ -173,6 +173,7 @@
             log.debug("Saving classpath to cache: {}", record);
             record.set(classPath);
         }
+        record.close();
         
         if (log.isDebugEnabled()) {
             log.debug("Plugin classpath:");



Mime
View raw message