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 MAuditStreamHandler.java
Date Sun, 16 Dec 2001 06:27:47 GMT
donaldp     01/12/15 22:27:47

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs
                        Recorder.java
               proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/dotnet
                        NetCommand.java
               proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/metamata
                        MAuditStreamHandler.java
  Log:
  Stop tasks using project.log() and instead they can use just log()
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/Recorder.java
  
  Index: Recorder.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/Recorder.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Recorder.java	2001/12/16 00:38:01	1.2
  +++ Recorder.java	2001/12/16 06:27:47	1.3
  @@ -142,7 +142,7 @@
           if( filename == null )
               throw new TaskException( "No filename specified" );
   
  -        getProject().log( "setting a recorder for name " + filename,
  +        log( "setting a recorder for name " + filename,
                             Project.MSG_DEBUG );
   
           // get the recorder entry
  
  
  
  1.7       +2 -2      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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- NetCommand.java	2001/12/16 06:21:41	1.6
  +++ NetCommand.java	2001/12/16 06:27:47	1.7
  @@ -180,7 +180,7 @@
        */
       protected void logError( String msg )
       {
  -        _owner.getProject().log( msg, Project.MSG_ERR );
  +        _owner.log( msg, Project.MSG_ERR );
       }
   
       /**
  @@ -190,7 +190,7 @@
        */
       protected void logVerbose( String msg )
       {
  -        _owner.getProject().log( msg, Project.MSG_VERBOSE );
  +        _owner.log( msg, Project.MSG_VERBOSE );
       }
   
       /**
  
  
  
  1.3       +1 -1      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/metamata/MAuditStreamHandler.java
  
  Index: MAuditStreamHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/metamata/MAuditStreamHandler.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MAuditStreamHandler.java	2001/12/16 00:35:26	1.2
  +++ MAuditStreamHandler.java	2001/12/16 06:27:47	1.3
  @@ -157,7 +157,7 @@
               String fullclassname = (String)filemapping.get( filepath );
               if( fullclassname == null )
               {
  -                task.getProject().log( "Could not find class mapping for " + filepath,
Project.MSG_WARN );
  +                task.log( "Could not find class mapping for " + filepath, Project.MSG_WARN
);
                   continue;
               }
               int pos = fullclassname.lastIndexOf( '.' );
  
  
  

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