geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgenen...@apache.org
Subject svn commit: r601169 - /geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java
Date Wed, 05 Dec 2007 00:43:10 GMT
Author: jgenender
Date: Tue Dec  4 16:43:09 2007
New Revision: 601169

URL: http://svn.apache.org/viewvc?rev=601169&view=rev
Log:
Fix path stripping

Modified:
    geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java

Modified: geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java?rev=601169&r1=601168&r2=601169&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java
Tue Dec  4 16:43:09 2007
@@ -1217,7 +1217,7 @@
                     String remove = sourceFile;
                     int pos = sourceFile.lastIndexOf('/');
                     if (pos > -1) {
-                        remove = sourceFile.substring(0, pos);
+                        remove = sourceFile.substring(pos + 1, sourceFile.length());
                     }
                     start = path.lastIndexOf(remove);
                 }



Mime
View raw message