ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/input DefaultInputHandler.java
Date Wed, 04 Sep 2002 12:12:15 GMT
bodewig     2002/09/04 05:12:15

  Modified:    src/main/org/apache/tools/ant/input DefaultInputHandler.java
  Log:
  Make sure the prompt is visible even in -quiet mode.
  
  PR: 10729
  
  Revision  Changes    Path
  1.3       +3 -3      jakarta-ant/src/main/org/apache/tools/ant/input/DefaultInputHandler.java
  
  Index: DefaultInputHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/input/DefaultInputHandler.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DefaultInputHandler.java	25 Jul 2002 15:21:03 -0000	1.2
  +++ DefaultInputHandler.java	4 Sep 2002 12:12:14 -0000	1.3
  @@ -62,7 +62,7 @@
   import org.apache.tools.ant.BuildException;
   
   /**
  - * Prompts on System.out, reads input from System.in
  + * Prompts on System.err, reads input from System.in
    *
    * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
    * @version $Revision$
  @@ -85,7 +85,7 @@
           BufferedReader in = 
               new BufferedReader(new InputStreamReader(getInputStream()));
           do {
  -            System.out.println(prompt);
  +            System.err.println(prompt);
               try {
                   String input = in.readLine();
                   request.setInput(input);
  
  
  

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


Mime
View raw message