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/myrmidon/frontends EmbeddedAnt.java
Date Sun, 24 Mar 2002 01:43:27 GMT
donaldp     02/03/23 17:43:27

  Modified:    proposal/myrmidon/src/java/org/apache/myrmidon/frontends
                        EmbeddedAnt.java
  Log:
  Actually make this work by toString()ing the embeddor properties
  
  Revision  Changes    Path
  1.3       +4 -3      jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/frontends/EmbeddedAnt.java
  
  Index: EmbeddedAnt.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/frontends/EmbeddedAnt.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EmbeddedAnt.java	23 Mar 2002 23:41:27 -0000	1.2
  +++ EmbeddedAnt.java	24 Mar 2002 01:43:27 -0000	1.3
  @@ -14,7 +14,6 @@
   import org.apache.avalon.framework.activity.Initializable;
   import org.apache.avalon.framework.activity.Startable;
   import org.apache.avalon.framework.logger.AbstractLogEnabled;
  -import org.apache.avalon.framework.logger.Logger;
   import org.apache.avalon.framework.parameters.Parameterizable;
   import org.apache.avalon.framework.parameters.Parameters;
   import org.apache.myrmidon.api.TaskException;
  @@ -29,7 +28,7 @@
    *
    * @author <a href="mailto:adammurdoch@apache.org">Adam Murdoch</a>
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.2 $ $Date: 2002/03/23 23:41:27 $
  + * @version $Revision: 1.3 $ $Date: 2002/03/24 01:43:27 $
    */
   public class EmbeddedAnt
       extends AbstractLogEnabled
  @@ -110,11 +109,13 @@
   
       /**
        * Sets a task engine property.  These are used to configure the task engine.
  +     *
  +     * @todo Make this method actually work with objects...
        */
       public void setEmbeddorProperty( final String name, final Object value )
       {
           // TODO - Make properties Objects, not Strings
  -        m_embeddorParameters.setParameter( name, (String)value );
  +        m_embeddorParameters.setParameter( name, value.toString() );
       }
   
       /**
  
  
  

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