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/sitraka CovReport.java
Date Sun, 06 Jan 2002 02:18:35 GMT
donaldp     02/01/05 18:18:35

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/sitraka
                        CovReport.java
  Log:
  Use Execute2 abstraction
  
  Revision  Changes    Path
  1.15      +3 -5      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/sitraka/CovReport.java
  
  Index: CovReport.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/sitraka/CovReport.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- CovReport.java	30 Dec 2001 11:08:29 -0000	1.14
  +++ CovReport.java	6 Jan 2002 02:18:35 -0000	1.15
  @@ -19,8 +19,7 @@
   import javax.xml.transform.stream.StreamResult;
   import org.apache.myrmidon.api.TaskException;
   import org.apache.tools.ant.Task;
  -import org.apache.tools.ant.taskdefs.exec.Execute;
  -import org.apache.tools.ant.taskdefs.exec.LogOutputStream;
  +import org.apache.tools.ant.taskdefs.exec.Execute2;
   import org.apache.tools.ant.types.Commandline;
   import org.apache.tools.ant.types.EnumeratedAttribute;
   import org.apache.tools.ant.types.Path;
  @@ -241,9 +240,8 @@
               }
   
               // use the custom handler for stdin issues
  -            final Execute exe = new Execute();
  -            exe.setOutput( new LogOutputStream( getLogger(), false ) );
  -            exe.setError( new LogOutputStream( getLogger(), true ) );
  +            final Execute2 exe = new Execute2();
  +            setupLogger( exe );
               getLogger().debug( cmdl.toString() );
               exe.setCommandline( cmdl.getCommandline() );
               int exitValue = exe.execute();
  
  
  

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