geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ammul...@apache.org
Subject svn commit: r263801 - /geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/cli/AbstractCommand.java
Date Sun, 28 Aug 2005 03:17:09 GMT
Author: ammulder
Date: Sat Aug 27 20:17:06 2005
New Revision: 263801

URL: http://svn.apache.org/viewcvs?rev=263801&view=rev
Log:
Better error message (GERONIMO-752)

Modified:
    geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/cli/AbstractCommand.java

Modified: geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/cli/AbstractCommand.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/cli/AbstractCommand.java?rev=263801&r1=263800&r2=263801&view=diff
==============================================================================
--- geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/cli/AbstractCommand.java
(original)
+++ geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/cli/AbstractCommand.java
Sat Aug 27 20:17:06 2005
@@ -156,7 +156,11 @@
             }
         }
         if(list.isEmpty()) {
-            throw new DeploymentException(name+" does not appear to be a TargetModuleID or
the name of a module available on the selected server.  For a TargetModuleID, specify it as
TargetName|ModuleName");
+            throw new DeploymentException(name+" does not appear to be a the name of a module
" +
+                    "available on the selected server. Perhaps it has already been " +
+                    "stopped or undeployed?  If you're trying to specify a " +
+                    "TargetModuleID, use the syntax TargetName|ModuleName instead. " +
+                    "If you're not sure what's running, try the list-modules command.");
         }
         return list;
     }



Mime
View raw message