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:[EMAIL PROTECTED]">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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to