geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r944116 - /geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandDistribute.java
Date Fri, 14 May 2010 05:34:06 GMT
Author: genspring
Date: Fri May 14 05:34:06 2010
New Revision: 944116

URL: http://svn.apache.org/viewvc?rev=944116&view=rev
Log:
GERONIMO-4792 deploy --inPlace - wrong error message for non-existing folders, patch from
Jeff

Modified:
    geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandDistribute.java

Modified: geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandDistribute.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandDistribute.java?rev=944116&r1=944115&r2=944116&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandDistribute.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandDistribute.java
Fri May 14 05:34:06 2010
@@ -93,7 +93,7 @@ public class CommandDistribute extends A
                     plan = test;
                 }
             } catch (IOException e) {
-                throw new DeploymentException("Invalid JAR file " + args[0]);
+                throw new DeploymentException("File not found: " + args[0]);
             }
         }
         if (args.length > 1) {
@@ -111,7 +111,7 @@ public class CommandDistribute extends A
                     plan = test;
                 }
             } catch (IOException e) {
-                throw new DeploymentException("Invalid JAR file " + args[1]);
+                throw new DeploymentException("File not found:" + args[1]);
             }
         }
         if (module != null) {



Mime
View raw message