ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/exec ExecTask.java
Date Sun, 30 Dec 2001 00:02:36 GMT
donaldp     01/12/29 16:02:36

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/exec
                        ExecTask.java
  Log:
  Update to use new format of LogOutputStream where you pass in a Logger
  
  Revision  Changes    Path
  1.12      +2 -2      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/exec/ExecTask.java
  
  Index: ExecTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/exec/ExecTask.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ExecTask.java	23 Dec 2001 06:34:23 -0000	1.11
  +++ ExecTask.java	30 Dec 2001 00:02:36 -0000	1.12
  @@ -308,8 +308,8 @@
           }
           else
           {
  -            exe.setOutput( new LogOutputStream( this, Project.MSG_INFO ) );
  -            exe.setError( new LogOutputStream( this, Project.MSG_WARN ) );
  +            exe.setOutput( new LogOutputStream( getLogger(), false ) );
  +            exe.setError( new LogOutputStream( getLogger(), true ) );
           }
       }
   
  
  
  

--
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