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/workspace DefaultTaskContext.java
Date Sun, 30 Jun 2002 10:24:54 GMT
donaldp     2002/06/30 03:24:54

  Modified:    container/src/java/org/apache/myrmidon/components/workspace
                        DefaultTaskContext.java
  Log:
  ALways return the services that were provided rather than those in ServiceKernel
  
  Revision  Changes    Path
  1.61      +10 -3     jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/workspace/DefaultTaskContext.java
  
  Index: DefaultTaskContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/workspace/DefaultTaskContext.java,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -r1.60 -r1.61
  --- DefaultTaskContext.java	30 Jun 2002 10:18:59 -0000	1.60
  +++ DefaultTaskContext.java	30 Jun 2002 10:24:54 -0000	1.61
  @@ -158,10 +158,17 @@
           {
               return m_frame;
           }
  -
  -        if( clazz == AntServiceKernel.class )
  +        else if( clazz == AntServiceKernel.class )
           {
               return m_serviceKernel;
  +        }
  +        else if( clazz == PropertyStore.class )
  +        {
  +            return m_propertyStore;
  +        }
  +        else if( clazz == TaskEventManager.class )
  +        {
  +            return m_eventManager;
           }
   
           // Lookup the service by role name.  Note that this will chain
  
  
  

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