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/java/org/apache/antlib/core Log.java Echo.java
Date Mon, 17 Dec 2001 09:16:22 GMT
donaldp     01/12/17 01:16:22

  Added:       proposal/myrmidon/src/java/org/apache/antlib/core Log.java
  Removed:     proposal/myrmidon/src/java/org/apache/antlib/core Echo.java
  Log:
  Rename Echo task to Log as that is what it is actually doing.
  
  Revision  Changes    Path
  1.1                  jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/core/Log.java
  
  Index: Log.java
  ===================================================================
  /*
   * Copyright (C) The Apache Software Foundation. All rights reserved.
   *
   * This software is published under the terms of the Apache Software License
   * version 1.1, a copy of which has been included with this distribution in
   * the LICENSE file.
   */
  package org.apache.antlib.core;
  
  import org.apache.myrmidon.api.AbstractTask;
  import org.apache.myrmidon.api.TaskException;
  
  /**
   * This is a task used to log messages in the build file.
   *
   * @author <a href="mailto:peter@apache.org">Peter Donald</a>
   */
  public class Log
      extends AbstractTask
  {
      private String      m_message;
  
      public void setMessage( final String message )
      {
          m_message = message;
      }
  
      public void execute()
          throws TaskException
      {
          getLogger().warn( m_message );
      }
  }
  
  
  

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