geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r602331 - /geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandListModules.java
Date Sat, 08 Dec 2007 06:49:47 GMT
Author: gawor
Date: Fri Dec  7 22:49:46 2007
New Revision: 602331

URL: http://svn.apache.org/viewvc?rev=602331&view=rev
Log:
improve console output

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

Modified: geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandListModules.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandListModules.java?rev=602331&r1=602330&r2=602331&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandListModules.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/CommandListModules.java
Fri Dec  7 22:49:46 2007
@@ -84,18 +84,18 @@
         int total = running.length+notrunning.length;
         try {
             consoleReader.printString("Found "+total+" module"+(total != 1 ? "s" : ""));
-            consoleReader.printNewline();
             if ((tlist != null) && (tlist.length > 1)) {
                 consoleReader.printString(" deployed to " + tlist.length + " target" + (tlist.length
!= 1 ? "s" : ""));
             }
             consoleReader.printNewline();
-
+            
             // for each target, print the modules that were deployed to it
             for (int i = 0; (tlist != null) && (i < tlist.length); i++) {
                 Target target = tlist[i];
                 if (tlist.length > 1) {
                     consoleReader.printNewline();
                     consoleReader.printString(" Target " + target);
+                    consoleReader.printNewline();
                 }
                 printTargetModules(consoleReader, target, running, "  + ");
                 printTargetModules(consoleReader, target, notrunning, "    ");



Mime
View raw message