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/interfaces/executor DefaultExecutionFrame.java
Date Tue, 28 May 2002 02:00:30 GMT
donaldp     02/05/27 19:00:30

  Modified:    container/src/java/org/apache/myrmidon/interfaces/executor
                        DefaultExecutionFrame.java
  Log:
  Ugly hack to put PropertyStore into ServiceManager.
  
  We really need to get a ServiceRegistry happening ;)
  
  Revision  Changes    Path
  1.3       +3 -1      jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/interfaces/executor/DefaultExecutionFrame.java
  
  Index: DefaultExecutionFrame.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/interfaces/executor/DefaultExecutionFrame.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DefaultExecutionFrame.java	11 May 2002 12:44:00 -0000	1.2
  +++ DefaultExecutionFrame.java	28 May 2002 02:00:30 -0000	1.3
  @@ -10,6 +10,7 @@
   import java.io.File;
   import org.apache.avalon.framework.logger.Logger;
   import org.apache.avalon.framework.service.ServiceManager;
  +import org.apache.avalon.framework.service.DefaultServiceManager;
   import org.apache.myrmidon.interfaces.event.TaskEventManager;
   import org.apache.myrmidon.interfaces.property.PropertyStore;
   
  @@ -17,7 +18,7 @@
    * Frames in which tasks are executed.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.2 $ $Date: 2002/05/11 12:44:00 $
  + * @version $Revision: 1.3 $ $Date: 2002/05/28 02:00:30 $
    */
   public class DefaultExecutionFrame
       implements ExecutionFrame
  @@ -42,6 +43,7 @@
           m_propertyStore = propertyStore;
           m_serviceManager = serviceManager;
           m_eventManager = eventManager;
  +        ( (DefaultServiceManager)serviceManager ).put( PropertyStore.ROLE, propertyStore
);
       }
   
       /**
  
  
  

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