ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/input DefaultInputHandler.java
Date Wed, 04 Feb 2004 18:15:34 GMT
peterreilly    2004/02/04 10:15:34

  Modified:    src/main/org/apache/tools/ant/input DefaultInputHandler.java
  Log:
  add flush are println in DefaultHandlerHandler#handleInput
  - some java jvms do not flush the output for System.err.println()
  in particular z/OS
  PR:  26655
  Obtained from: wwalsh at curamsoftware dot com
  
  Revision  Changes    Path
  1.14      +2 -1      ant/src/main/org/apache/tools/ant/input/DefaultInputHandler.java
  
  Index: DefaultInputHandler.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/input/DefaultInputHandler.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- DefaultInputHandler.java	3 Feb 2004 22:44:17 -0000	1.13
  +++ DefaultInputHandler.java	4 Feb 2004 18:15:34 -0000	1.14
  @@ -53,6 +53,7 @@
                   new DataInputStream(new KeepAliveInputStream(getInputStream()));
               do {
                   System.err.println(prompt);
  +                System.err.flush();
                   try {
                       String input = in.readLine();
                       request.setInput(input);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message