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/ant/modules/basic AntCall.java
Date Tue, 29 May 2001 09:11:52 GMT
donaldp     01/05/29 02:11:52

  Modified:    proposal/myrmidon/src/java/org/apache/ant/modules/basic
                        AntCall.java
  Log:
  Model is not a user concern but a modder/embeddor concern.
  
  Revision  Changes    Path
  1.7       +9 -9      jakarta-ant/proposal/myrmidon/src/java/org/apache/ant/modules/basic/AntCall.java
  
  Index: AntCall.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/ant/modules/basic/AntCall.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- AntCall.java	2001/05/29 07:41:22	1.6
  +++ AntCall.java	2001/05/29 09:11:48	1.7
  @@ -10,7 +10,7 @@
   import java.util.ArrayList;
   import org.apache.ant.AntException;
   import org.apache.myrmidon.components.model.Project;
  -import org.apache.ant.project.ProjectEngine;
  +import org.apache.myrmidon.components.manager.ProjectManager;
   import org.apache.myrmidon.api.AbstractTask;
   import org.apache.myrmidon.api.DefaultTaskContext;
   import org.apache.myrmidon.api.TaskContext;
  @@ -28,12 +28,12 @@
       extends AbstractTask
       implements Composable
   {
  -    protected ProjectEngine         m_projectEngine;
  -    protected Project               m_project;
  -    protected String                m_target;
  -    protected ArrayList             m_properties     = new ArrayList();
  -    protected TaskContext           m_childContext;
  -    protected ComponentManager      m_componentManager;
  +    private ProjectManager        m_projectEngine;
  +    private Project               m_project;
  +    private String                m_target;
  +    private ArrayList             m_properties     = new ArrayList();
  +    private TaskContext           m_childContext;
  +    private ComponentManager      m_componentManager;
   
       public void contextualize( final Context context )
       {
  @@ -45,8 +45,8 @@
           throws ComponentException
       {
           m_componentManager = componentManager;
  -        m_projectEngine = (ProjectEngine)componentManager.
  -            lookup( "org.apache.ant.project.ProjectEngine" );
  +        m_projectEngine = (ProjectManager)componentManager.
  +            lookup( "org.apache.myrmidon.components.manager.ProjectManager" );
           m_project = (Project)componentManager.lookup( "org.apache.ant.project.Project"
);
       }
   
  
  
  

Mime
View raw message