geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bjr...@apache.org
Subject svn commit: r733143 - /geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.v21.core/src/main/java/org/apache/geronimo/st/v21/core/operations/GeronimoServerPluginManager.java
Date Fri, 09 Jan 2009 20:14:19 GMT
Author: bjreed
Date: Fri Jan  9 12:14:19 2009
New Revision: 733143

URL: http://svn.apache.org/viewvc?rev=733143&view=rev
Log:
GeronimoServerPluginManager updated to account for small differences in PluginInstaller between
2.1.4 and 2.2

Modified:
    geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.v21.core/src/main/java/org/apache/geronimo/st/v21/core/operations/GeronimoServerPluginManager.java

Modified: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.v21.core/src/main/java/org/apache/geronimo/st/v21/core/operations/GeronimoServerPluginManager.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.v21.core/src/main/java/org/apache/geronimo/st/v21/core/operations/GeronimoServerPluginManager.java?rev=733143&r1=733142&r2=733143&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.v21.core/src/main/java/org/apache/geronimo/st/v21/core/operations/GeronimoServerPluginManager.java
(original)
+++ geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.v21.core/src/main/java/org/apache/geronimo/st/v21/core/operations/GeronimoServerPluginManager.java
Fri Jan  9 12:14:19 2009
@@ -97,7 +97,7 @@
                     if (connection != null) {
                         kernel = new KernelDelegate(connection);
                     }
-                    pluginInstaller = kernel.getGBean(PluginInstaller.class);
+                    pluginInstaller = (PluginInstaller)kernel.getGBean(PluginInstaller.class);
                 }
             }
         } catch (Throwable e) {
@@ -545,7 +545,7 @@
         Trace.tracePoint("Entry", "GeronimoServerPluginManager.validatePlugin", plugin);
         boolean valid = true;
         try {
-            valid = pluginInstaller.validatePlugin(plugin);
+            pluginInstaller.validatePlugin(plugin);
         } catch (Exception e) {
             e.printStackTrace();
             valid = false;



Mime
View raw message