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, 12 Jun 2001 14:02:45 GMT
donaldp     01/06/12 07:02:45

  Modified:    proposal/myrmidon/src/java/org/apache/ant/modules/basic
                        AntCall.java
  Log:
  Doesn't work with new Frame model. Essentially as I am unclear on appropriate semantics.
  
  Revision  Changes    Path
  1.11      +7 -3      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.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- AntCall.java	2001/05/31 17:19:36	1.10
  +++ AntCall.java	2001/06/12 14:02:45	1.11
  @@ -28,7 +28,7 @@
       extends AbstractTask
       implements Composable
   {
  -    private ProjectManager        m_projectEngine;
  +    private ProjectManager        m_projectManager;
       private Project               m_project;
       private String                m_target;
       private ArrayList             m_properties     = new ArrayList();
  @@ -45,7 +45,7 @@
           throws ComponentException
       {
           m_componentManager = componentManager;
  -        m_projectEngine = (ProjectManager)componentManager.lookup( ProjectManager.ROLE
);
  +        m_projectManager = (ProjectManager)componentManager.lookup( ProjectManager.ROLE
);
           m_project = (Project)componentManager.lookup( Project.ROLE );
       }
   
  @@ -81,7 +81,11 @@
           }
   
           getLogger().info( "Calling target " + m_target );
  +
           //This calls startProject() which is probably not wanted???
  -        m_projectEngine.executeTarget( m_project, m_target, m_childContext );
  +        //TODO: FIXME when scoping is decided
  +        //m_projectManager.executeProject( m_project, m_target );
  +        getLogger().warn( "ANTCALL NOT IMPLEMENTED - waiting for " + 
  +                          "scope rules to be decided" );
       }
   }
  
  
  

Mime
View raw message