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

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/jdepend
                        JDependTask.java
  Log:
  Use Execute2 abstraction
  
  Revision  Changes    Path
  1.15      +3 -5      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java
  
  Index: JDependTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- JDependTask.java	30 Dec 2001 10:46:59 -0000	1.14
  +++ JDependTask.java	6 Jan 2002 02:06:21 -0000	1.15
  @@ -14,8 +14,7 @@
   import org.apache.myrmidon.api.TaskException;
   import org.apache.tools.ant.PathTokenizer;
   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.Argument;
   import org.apache.tools.ant.types.CommandlineJava;
   import org.apache.tools.ant.types.EnumeratedAttribute;
  @@ -326,9 +325,8 @@
               commandline.createArgument().setValue( f.getPath() );
           }
   
  -        final Execute exe = new Execute();
  -        exe.setOutput( new LogOutputStream( getLogger(), false ) );
  -        exe.setError( new LogOutputStream( getLogger(), true ) );
  +        final Execute2 exe = new Execute2();
  +        setupLogger( exe );
   
           exe.setCommandline( commandline.getCommandline() );
           if( getDir() != 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