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 Fri, 21 Jun 2002 03:01:41 GMT
donaldp     2002/06/20 20:01:41

  Modified:    container/src/java/org/apache/myrmidon/components/workspace
                        DefaultWorkspace.java
  Log:
  TypeManager is no longer scoped.
  
  Revision  Changes    Path
  1.95      +3 -8      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.94
  retrieving revision 1.95
  diff -u -r1.94 -r1.95
  --- DefaultWorkspace.java	20 Jun 2002 09:52:20 -0000	1.94
  +++ DefaultWorkspace.java	21 Jun 2002 03:01:41 -0000	1.95
  @@ -7,7 +7,6 @@
    */
   package org.apache.myrmidon.components.workspace;
   
  -import java.io.File;
   import java.util.Collection;
   import java.util.HashMap;
   import java.util.Iterator;
  @@ -28,7 +27,6 @@
   import org.apache.myrmidon.interfaces.model.Target;
   import org.apache.myrmidon.interfaces.property.PropertyStore;
   import org.apache.myrmidon.interfaces.service.ScopedService;
  -import org.apache.myrmidon.interfaces.type.TypeManager;
   import org.apache.myrmidon.interfaces.workspace.ProjectDescriptor;
   import org.apache.myrmidon.interfaces.workspace.Workspace;
   
  @@ -136,18 +134,15 @@
       {
           try
           {
  -            final String projectName = project.getProjectName();
  -            final File baseDirectory = project.getBaseDirectory();
  -            final ExecutionFrame childFrame = frame.createPartition( projectName, baseDirectory
);
  +            final ExecutionFrame childFrame =
  +                frame.createPartition( project.getProjectName(), project.getBaseDirectory()
);
   
               // TODO - move all this stuff to a customised ServiceManager, and call
               // from ExecutionFrame.createPartition( ..., true ).
   
               // Add child services, for the scoped services.
               final Map services = new HashMap();
  -            addChildService( TypeManager.ROLE, frame, services );
               addChildService( Deployer.ROLE, frame, services );
  -            // TODO - Add child role manager and configurer
   
               frame.registerService( Workspace.ROLE, this );
   
  
  
  

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