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/container/src/java/org/apache/myrmidon/components/embeddor DefaultEmbeddor.java
Date Sun, 09 Jun 2002 13:24:05 GMT
donaldp     2002/06/09 06:24:05

  Modified:    container/src/java/org/apache/myrmidon/components/embeddor
                        DefaultEmbeddor.java
  Log:
  Ugly hardwiring of converter service as thats the way it has been accessed. This will be
deleted in future.
  
  Revision  Changes    Path
  1.86      +3 -2      jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/embeddor/DefaultEmbeddor.java
  
  Index: DefaultEmbeddor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/embeddor/DefaultEmbeddor.java,v
  retrieving revision 1.85
  retrieving revision 1.86
  diff -u -r1.85 -r1.86
  --- DefaultEmbeddor.java	9 Jun 2002 03:58:35 -0000	1.85
  +++ DefaultEmbeddor.java	9 Jun 2002 13:24:05 -0000	1.86
  @@ -13,7 +13,7 @@
   import java.util.Iterator;
   import java.util.List;
   import java.util.Map;
  -import org.apache.aut.converter.Converter;
  +import org.apache.excalibur.converter.Converter;
   import org.apache.avalon.excalibur.i18n.ResourceManager;
   import org.apache.avalon.excalibur.i18n.Resources;
   import org.apache.avalon.framework.activity.Disposable;
  @@ -64,7 +64,7 @@
    * Instantiate this to embed inside other applications.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.85 $ $Date: 2002/06/09 03:58:35 $
  + * @version $Revision: 1.86 $ $Date: 2002/06/09 13:24:05 $
    */
   public class DefaultEmbeddor
       extends AbstractLogEnabled
  @@ -269,6 +269,7 @@
                                Converter.class,
                                PREFIX + "converter.DefaultMasterConverter" );
           m_serviceManager.put( ConverterRegistry.ROLE, converter );
  +        m_serviceManager.put( "converter", converter );
           createComponent( Configurer.ROLE,
                            Configurer.class,
                            PREFIX + "configurer.DefaultConfigurer" );
  
  
  

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