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/optional/junit JUnitTask.java
Date Sat, 29 Dec 2001 23:56:28 GMT
donaldp     01/12/29 15:56:28

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/junit
                        JUnitTask.java
  Log:
  Update to use new format of LogOutputStream where you pass in a Logger
  
  Revision  Changes    Path
  1.18      +3 -3      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
  
  Index: JUnitTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- JUnitTask.java	23 Dec 2001 14:22:46 -0000	1.17
  +++ JUnitTask.java	29 Dec 2001 23:56:28 -0000	1.18
  @@ -405,7 +405,7 @@
        */
       protected OutputStream getDefaultOutput()
       {
  -        return new LogOutputStream( this, Project.MSG_INFO );
  +        return new LogOutputStream( getLogger(), false );
       }
   
       /**
  @@ -650,8 +650,8 @@
           }
   
           final 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( cmd.getCommandline() );
           if( dir != null )
  
  
  

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