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-myrmidon/antlib/src/java/org/apache/antlib/project TargetTask.java
Date Sun, 05 May 2002 13:49:33 GMT
donaldp     02/05/05 06:49:33

  Modified:    antlib/src/java/org/apache/antlib/project TargetTask.java
  Log:
  Changed messages so that they print out using more appropriate log levels.
  
  Revision  Changes    Path
  1.4       +7 -7      jakarta-ant-myrmidon/antlib/src/java/org/apache/antlib/project/TargetTask.java
  
  Index: TargetTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/antlib/src/java/org/apache/antlib/project/TargetTask.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TargetTask.java	5 May 2002 12:46:59 -0000	1.3
  +++ TargetTask.java	5 May 2002 13:49:33 -0000	1.4
  @@ -21,7 +21,7 @@
    * A simple task to task to execute a group of tasks.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.3 $ $Date: 2002/05/05 12:46:59 $
  + * @version $Revision: 1.4 $ $Date: 2002/05/05 13:49:33 $
    * @ant.task name="target"
    */
   public class TargetTask
  @@ -92,11 +92,11 @@
   
           executeDependencies();
   
  -        if( getContext().isInfoEnabled() )
  +        if( getContext().isVerboseEnabled() )
           {
               final String message =
                   REZ.getString( "target.exec.notice", m_name );
  -            getContext().info( message );
  +            getContext().verbose( message );
           }
   
           setupFrame();
  @@ -162,13 +162,13 @@
           {
               final Dependency dependency = m_dependencies[ i ];
   
  -            if( getContext().isInfoEnabled() )
  +            if( getContext().isDebugEnabled() )
               {
                   final String message =
                       REZ.getString( "target.exec-depends.notice",
                                      m_name,
                                      dependency );
  -                getContext().info( message );
  +                getContext().debug( message );
               }
   
               //executeProjectTarget( dependency );
  @@ -190,12 +190,12 @@
           {
               final ModelElement task = tasks[ i ];
   
  -            if( getContext().isInfoEnabled() )
  +            if( getContext().isDebugEnabled() )
               {
                   final String message =
                       REZ.getString( "target.task-exec.notice",
                                      task.getName() );
  -                getContext().info( message );
  +                getContext().debug( message );
               }
               executeTask( task );
           }
  
  
  

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