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

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/clearcase
                        ClearCase.java
  Log:
  Use Execute2 abstraction
  
  Revision  Changes    Path
  1.13      +3 -5      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/clearcase/ClearCase.java
  
  Index: ClearCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/clearcase/ClearCase.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- ClearCase.java	30 Dec 2001 01:04:35 -0000	1.12
  +++ ClearCase.java	6 Jan 2002 02:25:35 -0000	1.13
  @@ -11,8 +11,7 @@
   import java.io.IOException;
   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;
   
   /**
  @@ -108,9 +107,8 @@
       {
           try
           {
  -            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.setWorkingDirectory( getBaseDirectory() );
               exe.setCommandline( cmd.getCommandline() );
               return 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