geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r1032471 - /geronimo/server/trunk/framework/modules/geronimo-shell-base/src/main/java/org/apache/geronimo/shell/deploy/InstallPluginCommand.java
Date Mon, 08 Nov 2010 06:51:16 GMT
Author: xuhaihong
Date: Mon Nov  8 06:51:15 2010
New Revision: 1032471

URL: http://svn.apache.org/viewvc?rev=1032471&view=rev
Log:
GERONIMO-5611 Problem with "deploy:install-plugin" command.
Currently, we do not support space in the file path.

Modified:
    geronimo/server/trunk/framework/modules/geronimo-shell-base/src/main/java/org/apache/geronimo/shell/deploy/InstallPluginCommand.java

Modified: geronimo/server/trunk/framework/modules/geronimo-shell-base/src/main/java/org/apache/geronimo/shell/deploy/InstallPluginCommand.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-shell-base/src/main/java/org/apache/geronimo/shell/deploy/InstallPluginCommand.java?rev=1032471&r1=1032470&r2=1032471&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-shell-base/src/main/java/org/apache/geronimo/shell/deploy/InstallPluginCommand.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-shell-base/src/main/java/org/apache/geronimo/shell/deploy/InstallPluginCommand.java
Mon Nov  8 06:51:15 2010
@@ -40,7 +40,7 @@ public class InstallPluginCommand extend
 
         CommandInstallCAR command = new CommandInstallCAR();
 
-        BaseCommandArgs args = new BaseCommandArgs(pluginFile.split(""));
+        BaseCommandArgs args = new BaseCommandArgs(pluginFile.trim().split("[ ]"));
 
         command.execute(this, connection, args);
         return null;



Mime
View raw message