You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ga...@apache.org on 2007/12/08 07:49:47 UTC

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

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, "    ");