geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r893173 - /geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/StreamConsoleReader.java
Date Tue, 22 Dec 2009 14:10:02 GMT
Author: xuhaihong
Date: Tue Dec 22 14:10:01 2009
New Revision: 893173

URL: http://svn.apache.org/viewvc?rev=893173&view=rev
Log:
flush the console output

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

Modified: geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/StreamConsoleReader.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/StreamConsoleReader.java?rev=893173&r1=893172&r2=893173&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/StreamConsoleReader.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/StreamConsoleReader.java
Tue Dec 22 14:10:01 2009
@@ -43,7 +43,7 @@
     }
 
     public StreamConsoleReader(InputStream in, Writer out) {
-        this(in, new PrintWriter(out));
+        this(in, new PrintWriter(out, true));
     }
 
     /**
@@ -99,6 +99,7 @@
      */
     public String readLine(String prompt) throws IOException {
         printString(prompt);
+        flushConsole();
         return readLine();
     }
 



Mime
View raw message