tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlaskow...@apache.org
Subject svn commit: r596298 - /openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/Deploy.java
Date Mon, 19 Nov 2007 13:53:03 GMT
Author: jlaskowski
Date: Mon Nov 19 05:53:01 2007
New Revision: 596298

URL: http://svn.apache.org/viewvc?rev=596298&view=rev
Log:
Finish when no modules to deploy specified

Modified:
    openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/Deploy.java

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/Deploy.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/Deploy.java?rev=596298&r1=596297&r2=596298&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/Deploy.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/Deploy.java
Mon Nov 19 05:53:01 2007
@@ -95,6 +95,7 @@
         if (line.getArgList().size() == 0) {
             System.out.println("Must specify an archive to deploy.");
             help(options);
+            return;
         }
 
 
@@ -130,7 +131,7 @@
             System.out.println(messages.format("cmd.deploy.serverOffline"));
             throw new SystemExitException(1);
         } catch (javax.naming.NamingException e) {
-            System.out.println("DeployerEjb does not exist in server '" + serverUrl + "',
check the server logs to ensure it exists and has not been removed.");
+            System.out.println("openejb/DeployerBusinessRemote does not exist in server '"
+ serverUrl + "', check the server logs to ensure it exists and has not been removed.");
             throw new SystemExitException(2);
         }
 



Mime
View raw message