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/dotnet NetCommand.java
Date Sat, 29 Dec 2001 23:54:30 GMT
donaldp     01/12/29 15:54:30

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/dotnet
                        NetCommand.java
  Log:
  Update to use new format of LogOutputStream where you pass in a Logger
  
  Revision  Changes    Path
  1.14      +2 -3      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/NetCommand.java
  
  Index: NetCommand.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/NetCommand.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- NetCommand.java	23 Dec 2001 14:22:45 -0000	1.13
  +++ NetCommand.java	29 Dec 2001 23:54:30 -0000	1.14
  @@ -11,7 +11,6 @@
   import java.io.IOException;
   import org.apache.avalon.framework.logger.AbstractLogEnabled;
   import org.apache.myrmidon.api.TaskException;
  -import org.apache.tools.ant.Project;
   import org.apache.tools.ant.Task;
   import org.apache.tools.ant.taskdefs.exec.Execute;
   import org.apache.tools.ant.taskdefs.exec.LogOutputStream;
  @@ -202,8 +201,8 @@
           // default directory to the project's base directory
           File dir = _owner.getBaseDirectory();
           _exe = new Execute();
  -        _exe.setOutput( new LogOutputStream( _owner, Project.MSG_INFO ) );
  -        _exe.setError( new LogOutputStream( _owner, Project.MSG_WARN ) );
  +        _exe.setOutput( new LogOutputStream( _owner.hackGetLogger(), false ) );
  +        _exe.setError( new LogOutputStream( _owner.hackGetLogger(), true ) );
           _exe.setWorkingDirectory( dir );
       }
   }
  
  
  

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