You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by do...@apache.org on 2001/12/30 00:51:05 UTC

cvs commit: jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs Patch.java

donaldp     01/12/29 15:51:04

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs
                        Patch.java
  Log:
  Update to use new format of LogOutputStream where you pass in a Logger
  
  Revision  Changes    Path
  1.9       +2 -2      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/Patch.java
  
  Index: Patch.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/Patch.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Patch.java	23 Dec 2001 06:33:35 -0000	1.8
  +++ Patch.java	29 Dec 2001 23:51:04 -0000	1.9
  @@ -143,8 +143,8 @@
           }
   
           Execute exe = new Execute();
  -        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 ) );
           exe.setCommandline( toExecute.getCommandline() );
           try
           {
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>