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/java/org/apache/antlib/cvslib Cvs.java
Date Sun, 30 Dec 2001 00:25:08 GMT
donaldp     01/12/29 16:25:08

  Modified:    proposal/myrmidon/src/java/org/apache/antlib/cvslib Cvs.java
  Log:
  Update to reflect new LogOutputStream interface
  
  Revision  Changes    Path
  1.11      +3 -3      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/cvslib/Cvs.java
  
  Index: Cvs.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/cvslib/Cvs.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Cvs.java	23 Dec 2001 14:25:02 -0000	1.10
  +++ Cvs.java	30 Dec 2001 00:25:08 -0000	1.11
  @@ -24,7 +24,7 @@
    * @author <a href="mailto:costin@dnt.ro">costin@dnt.ro</a>
    * @author <a href="mailto:stefano@apache.org">stefano@apache.org</a>
    * @author <a href="mailto:wwerner@picturesafe.de">Wolfgang Werner [wwerner@picturesafe.de]</a>
  - * @version $Revision: 1.10 $ $Date: 2001/12/23 14:25:02 $
  + * @version $Revision: 1.11 $ $Date: 2001/12/30 00:25:08 $
    */
   public class Cvs
       extends AbstractTask
  @@ -148,8 +148,8 @@
           final EnvironmentData env = buildEnvironment();
   
           final Execute exe = new Execute();
  -        exe.setOutput( new LogOutputStream( null, Project.MSG_INFO ) );
  -        exe.setError( new LogOutputStream( null, Project.MSG_WARN ) );
  +        exe.setOutput( new LogOutputStream( getLogger(), false ) );
  +        exe.setError( new LogOutputStream( getLogger(), true ) );
           if( m_dest == null ) m_dest = getBaseDirectory();
           exe.setWorkingDirectory( m_dest );
   
  
  
  

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