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/embeddor DefaultEmbeddor.java
Date Thu, 02 May 2002 08:50:10 GMT
donaldp     02/05/02 01:50:10

  Modified:    container/src/java/org/apache/myrmidon/components/embeddor
                        DefaultEmbeddor.java
  Log:
  Put the myrmidon.antlib.path into initial properties available across
  project.
  
  Revision  Changes    Path
  1.57      +5 -2      jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/embeddor/DefaultEmbeddor.java
  
  Index: DefaultEmbeddor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/embeddor/DefaultEmbeddor.java,v
  retrieving revision 1.56
  retrieving revision 1.57
  diff -u -r1.56 -r1.57
  --- DefaultEmbeddor.java	2 May 2002 04:03:52 -0000	1.56
  +++ DefaultEmbeddor.java	2 May 2002 08:50:10 -0000	1.57
  @@ -64,7 +64,7 @@
    * Instantiate this to embed inside other applications.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.56 $ $Date: 2002/05/02 04:03:52 $
  + * @version $Revision: 1.57 $ $Date: 2002/05/02 08:50:10 $
    */
   public class DefaultEmbeddor
       extends AbstractLogEnabled
  @@ -147,7 +147,9 @@
           final PropertyStore propStore = createBaseStore( properties );
   
           // Create an execution frame, and attach it to the workspace
  -        final TaskEventManager eventManager = (TaskEventManager)m_workspaceServiceManager.lookup(
TaskEventManager.ROLE );
  +        final TaskEventManager eventManager =
  +            (TaskEventManager)m_workspaceServiceManager.lookup( TaskEventManager.ROLE );
  +
           final ExecutionFrame frame =
               new DefaultExecutionFrame( "",
                                          new File( "." ),
  @@ -461,6 +463,7 @@
   
           //Add runtime info
           store.setProperty( TaskContext.CONTAINER_DESCRIPTION, Constants.BUILD_DESCRIPTION
);
  +        store.setProperty( "myrmidon.antlib.path", m_context.get( "myrmidon.antlib.path"
) );
   
           return store;
       }
  
  
  

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