geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r944114 - /geronimo/server/branches/2.2/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandDistribute.java
Date Fri, 14 May 2010 05:27:03 GMT
Author: genspring
Date: Fri May 14 05:27:02 2010
New Revision: 944114

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

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

Modified: geronimo/server/branches/2.2/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandDistribute.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.2/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandDistribute.java?rev=944114&r1=944113&r2=944114&view=diff
==============================================================================
--- geronimo/server/branches/2.2/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandDistribute.java
(original)
+++ geronimo/server/branches/2.2/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandDistribute.java
Fri May 14 05:27:02 2010
@@ -94,7 +94,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) {
@@ -112,7 +112,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