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/components/embeddor MyrmidonEmbeddor.java
Date Sat, 02 Jun 2001 05:48:25 GMT
donaldp     01/06/01 22:48:25

  Modified:    proposal/myrmidon/src/java/org/apache/myrmidon/components/embeddor
                        MyrmidonEmbeddor.java
  Log:
  Updated properties to use role names rather than having an extra layer of indirection.
  
  Revision  Changes    Path
  1.11      +14 -14    jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/components/embeddor/MyrmidonEmbeddor.java
  
  Index: MyrmidonEmbeddor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/components/embeddor/MyrmidonEmbeddor.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- MyrmidonEmbeddor.java	2001/05/31 17:20:09	1.10
  +++ MyrmidonEmbeddor.java	2001/06/02 05:48:24	1.11
  @@ -166,19 +166,19 @@
           defaults.setParameter( "myrmidon.lib.path", "lib" );
   
           //create all the default properties for components
  -        defaults.setParameter( "myrmidon.comp.converter",
  +        defaults.setParameter( "org.apache.ant.convert.engine.ConverterEngine",
                                  "org.apache.ant.convert.engine.DefaultConverterEngine" );
  -        defaults.setParameter( "myrmidon.comp.datatype",
  +        defaults.setParameter( "org.apache.ant.tasklet.engine.DataTypeEngine",
                                  "org.apache.ant.tasklet.engine.DefaultDataTypeEngine" );
  -        defaults.setParameter( "myrmidon.comp.task",
  +        defaults.setParameter( Executor.ROLE,
                                  "org.apache.myrmidon.components.executor.DefaultExecutor"
);
  -        defaults.setParameter( "myrmidon.comp.project",
  +        defaults.setParameter( ProjectManager.ROLE,
                                  "org.apache.myrmidon.components.manager.DefaultProjectManager"
);
  -        defaults.setParameter( "myrmidon.comp.builder",
  +        defaults.setParameter( ProjectBuilder.ROLE,
                                  "org.apache.myrmidon.components.builder.DefaultProjectBuilder"
);
  -        defaults.setParameter( "myrmidon.comp.deployer",
  +        defaults.setParameter( TskDeployer.ROLE,
                                  "org.apache.myrmidon.components.deployer.DefaultTskDeployer"
);
  -        defaults.setParameter( "myrmidon.comp.configurer",
  +        defaults.setParameter( Configurer.ROLE,
                                  "org.apache.myrmidon.components.configurer.DefaultConfigurer"
);
   
           return defaults;
  @@ -223,25 +223,25 @@
       {
           String component = null;
   
  -        component = getParameter( "myrmidon.comp.converter" );
  +        component = getParameter( "org.apache.ant.convert.engine.ConverterEngine" );
           m_converterEngine = (ConverterEngine)createComponent( component, ConverterEngine.class
);
   
  -        component = getParameter( "myrmidon.comp.datatype" );
  +        component = getParameter( "org.apache.ant.tasklet.engine.DataTypeEngine" );
           m_dataTypeEngine = (DataTypeEngine)createComponent( component, DataTypeEngine.class
);
   
  -        component = getParameter( "myrmidon.comp.task" );
  +        component = getParameter( Executor.ROLE );
           m_executor = (Executor)createComponent( component, Executor.class );
   
  -        component = getParameter( "myrmidon.comp.project" );
  +        component = getParameter( ProjectManager.ROLE );
           m_projectManager = (ProjectManager)createComponent( component, ProjectManager.class
);
   
  -        component = getParameter( "myrmidon.comp.builder" );
  +        component = getParameter( ProjectBuilder.ROLE );
           m_builder =(ProjectBuilder)createComponent( component, ProjectBuilder.class );
   
  -        component = getParameter( "myrmidon.comp.deployer" );
  +        component = getParameter( TskDeployer.ROLE );
           m_deployer = (TskDeployer)createComponent( component, TskDeployer.class );
   
  -        component = getParameter( "myrmidon.comp.configurer" );
  +        component = getParameter( Configurer.ROLE );
           m_configurer = (Configurer)createComponent( component, Configurer.class );
       }
   
  
  
  

Mime
View raw message