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 DefaultWorkspace.java
Date Sun, 21 Apr 2002 01:57:45 GMT
donaldp     02/04/20 18:57:45

  Modified:    container/src/java/org/apache/myrmidon/components/workspace
                        DefaultWorkspace.java
  Log:
  Configuration --> ModelElement
  
  Revision  Changes    Path
  1.42      +6 -5      jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/workspace/DefaultWorkspace.java
  
  Index: DefaultWorkspace.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/workspace/DefaultWorkspace.java,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- DefaultWorkspace.java	9 Apr 2002 07:21:12 -0000	1.41
  +++ DefaultWorkspace.java	21 Apr 2002 01:57:45 -0000	1.42
  @@ -11,7 +11,6 @@
   import java.util.HashMap;
   import org.apache.avalon.excalibur.i18n.ResourceManager;
   import org.apache.avalon.excalibur.i18n.Resources;
  -import org.apache.avalon.framework.configuration.Configuration;
   import org.apache.avalon.framework.context.Context;
   import org.apache.avalon.framework.context.ContextException;
   import org.apache.avalon.framework.context.Contextualizable;
  @@ -21,6 +20,7 @@
   import org.apache.avalon.framework.service.ServiceManager;
   import org.apache.myrmidon.api.TaskContext;
   import org.apache.myrmidon.api.TaskException;
  +import org.apache.myrmidon.api.metadata.ModelElement;
   import org.apache.myrmidon.interfaces.deployer.Deployer;
   import org.apache.myrmidon.interfaces.deployer.DeploymentException;
   import org.apache.myrmidon.interfaces.deployer.TypeDeployer;
  @@ -40,7 +40,7 @@
    * This is the default implementation of Workspace.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.41 $ $Date: 2002/04/09 07:21:12 $
  + * @version $Revision: 1.42 $ $Date: 2002/04/21 01:57:45 $
    */
   public class DefaultWorkspace
       extends AbstractLogEnabled
  @@ -219,7 +219,7 @@
               new RoutingLogger( getLogger(), m_listenerSupport );
   
           // Properties
  -        final PropertyStore store = m_baseStore.createChildStore("");
  +        final PropertyStore store = m_baseStore.createChildStore( "" );
           store.setProperty( TaskContext.BASE_DIRECTORY, project.getBaseDirectory() );
   
           final DefaultExecutionFrame frame =
  @@ -393,7 +393,7 @@
           //frame.getContext().setProperty( Project.TARGET, target );
   
           // Execute all tasks assciated with target
  -        final Configuration[] tasks = target.getTasks();
  +        final ModelElement[] tasks = target.getTasks();
           for( int i = 0; i < tasks.length; i++ )
           {
               executeTask( tasks[ i ], entry.getFrame() );
  @@ -410,7 +410,8 @@
        * @param frame the frame to execute in
        * @exception TaskException if an error occurs
        */
  -    private void executeTask( final Configuration task, final ExecutionFrame frame )
  +    private void executeTask( final ModelElement task,
  +                              final ExecutionFrame frame )
           throws TaskException
       {
           final String name = task.getName();
  
  
  

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