git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270216 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -142,7 +142,7 @@ public class Recorder extends Task | |||||
| if( filename == null ) | if( filename == null ) | ||||
| throw new TaskException( "No filename specified" ); | throw new TaskException( "No filename specified" ); | ||||
| getProject().log( "setting a recorder for name " + filename, | |||||
| log( "setting a recorder for name " + filename, | |||||
| Project.MSG_DEBUG ); | Project.MSG_DEBUG ); | ||||
| // get the recorder entry | // get the recorder entry | ||||
| @@ -180,7 +180,7 @@ public class NetCommand | |||||
| */ | */ | ||||
| protected void logError( String msg ) | protected void logError( String msg ) | ||||
| { | { | ||||
| _owner.getProject().log( msg, Project.MSG_ERR ); | |||||
| _owner.log( msg, Project.MSG_ERR ); | |||||
| } | } | ||||
| /** | /** | ||||
| @@ -190,7 +190,7 @@ public class NetCommand | |||||
| */ | */ | ||||
| protected void logVerbose( String msg ) | protected void logVerbose( String msg ) | ||||
| { | { | ||||
| _owner.getProject().log( msg, Project.MSG_VERBOSE ); | |||||
| _owner.log( msg, Project.MSG_VERBOSE ); | |||||
| } | } | ||||
| /** | /** | ||||
| @@ -157,7 +157,7 @@ class MAuditStreamHandler implements ExecuteStreamHandler | |||||
| String fullclassname = (String)filemapping.get( filepath ); | String fullclassname = (String)filemapping.get( filepath ); | ||||
| if( fullclassname == null ) | 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; | continue; | ||||
| } | } | ||||
| int pos = fullclassname.lastIndexOf( '.' ); | int pos = fullclassname.lastIndexOf( '.' ); | ||||
| @@ -142,7 +142,7 @@ public class Recorder extends Task | |||||
| if( filename == null ) | if( filename == null ) | ||||
| throw new TaskException( "No filename specified" ); | throw new TaskException( "No filename specified" ); | ||||
| getProject().log( "setting a recorder for name " + filename, | |||||
| log( "setting a recorder for name " + filename, | |||||
| Project.MSG_DEBUG ); | Project.MSG_DEBUG ); | ||||
| // get the recorder entry | // get the recorder entry | ||||
| @@ -180,7 +180,7 @@ public class NetCommand | |||||
| */ | */ | ||||
| protected void logError( String msg ) | protected void logError( String msg ) | ||||
| { | { | ||||
| _owner.getProject().log( msg, Project.MSG_ERR ); | |||||
| _owner.log( msg, Project.MSG_ERR ); | |||||
| } | } | ||||
| /** | /** | ||||
| @@ -190,7 +190,7 @@ public class NetCommand | |||||
| */ | */ | ||||
| protected void logVerbose( String msg ) | protected void logVerbose( String msg ) | ||||
| { | { | ||||
| _owner.getProject().log( msg, Project.MSG_VERBOSE ); | |||||
| _owner.log( msg, Project.MSG_VERBOSE ); | |||||
| } | } | ||||
| /** | /** | ||||
| @@ -157,7 +157,7 @@ class MAuditStreamHandler implements ExecuteStreamHandler | |||||
| String fullclassname = (String)filemapping.get( filepath ); | String fullclassname = (String)filemapping.get( filepath ); | ||||
| if( fullclassname == null ) | 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; | continue; | ||||
| } | } | ||||
| int pos = fullclassname.lastIndexOf( '.' ); | int pos = fullclassname.lastIndexOf( '.' ); | ||||