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/metamata MAudit.java MMetrics.java
Date Sat, 29 Dec 2001 23:57:18 GMT
donaldp     01/12/29 15:57:18

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/metamata
                        MAudit.java MMetrics.java
  Log:
  Update to use new format of LogOutputStream where you pass in a Logger
  
  Revision  Changes    Path
  1.10      +3 -3      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/metamata/MAudit.java
  
  Index: MAudit.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/metamata/MAudit.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- MAudit.java	23 Dec 2001 14:22:46 -0000	1.9
  +++ MAudit.java	29 Dec 2001 23:57:18 -0000	1.10
  @@ -135,7 +135,7 @@
       {
           if( searchPath == null )
           {
  -            searchPath = new Path( getProject() );
  +            searchPath = new Path();
           }
           return searchPath;
       }
  @@ -226,8 +226,8 @@
           // if we didn't specify a file, then use a screen report
           if( outFile == null )
           {
  -            exe.setOutput( new LogOutputStream( this, Project.MSG_INFO ) );
  -            exe.setError( new LogOutputStream( this, Project.MSG_WARN ) );
  +            exe.setOutput( new LogOutputStream( getLogger(), false ) );
  +            exe.setError( new LogOutputStream( getLogger(), true ) );
           }
           else
           {
  
  
  
  1.8       +3 -3      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/metamata/MMetrics.java
  
  Index: MMetrics.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/metamata/MMetrics.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- MMetrics.java	23 Dec 2001 06:31:58 -0000	1.7
  +++ MMetrics.java	29 Dec 2001 23:57:18 -0000	1.8
  @@ -114,7 +114,7 @@
       {
           if( path == null )
           {
  -            path = new Path( getProject() );
  +            path = new Path();
           }
           return path;
       }
  @@ -226,8 +226,8 @@
        */
       protected void setupStreamHandler( final Execute exe )
       {
  -        exe.setOutput( new LogOutputStream( this, Project.MSG_INFO ) );
  -        exe.setError( new LogOutputStream( this, Project.MSG_INFO ) );
  +        exe.setOutput( new LogOutputStream( getLogger(), false ) );
  +        exe.setError( new LogOutputStream( getLogger(), false ) );
       }
   
       protected void execute0( ExecuteStreamHandler handler )
  
  
  

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