You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by ep...@apache.org on 2004/10/20 15:21:16 UTC

cvs commit: jakarta-turbine-fulcrum/pool/impl/xdocs changes.xml

epugh       2004/10/20 06:21:16

  Modified:    pool/api project.xml
               pool/impl project.xml maven.xml
               pool/impl/src/test/org/apache/fulcrum/pool
                        PoolServiceTest.java
               pool/impl/xdocs changes.xml
  Added:       pool/impl/src/test TestRoleConfig.xml
                        TestComponentConfig.xml
               pool/api/xdocs changes.xml
  Log:
  Bump versions, clean up dependencies.  Use TestContainer.
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-fulcrum/pool/impl/src/test/TestRoleConfig.xml
  
  Index: TestRoleConfig.xml
  ===================================================================
  <!-- This configuration file for Avalon components is used for testing the TestComponent -->
  <role-list>
      <role
          name="org.apache.fulcrum.pool.PoolService"
          shorthand="pool"
          default-class="org.apache.fulcrum.pool.DefaultPoolService"/>
      <role
          name="org.apache.fulcrum.factory.FactoryService"
          shorthand="factory"
          default-class="org.apache.fulcrum.factory.DefaultFactoryService"/>        
          
          
  </role-list>
  
  
  1.1                  jakarta-turbine-fulcrum/pool/impl/src/test/TestComponentConfig.xml
  
  Index: TestComponentConfig.xml
  ===================================================================
  <componentConfig>
      <pool>
            <configuration>
         <capacity default="256"/>
       </configuration>
      </pool>
      <factory/>    
  </componentConfig>
  
  
  1.3       +2 -2      jakarta-turbine-fulcrum/pool/api/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-fulcrum/pool/api/project.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.xml	30 Jun 2004 13:42:32 -0000	1.2
  +++ project.xml	20 Oct 2004 13:21:16 -0000	1.3
  @@ -2,10 +2,10 @@
   
   <project>
   
  -  <extend>${basedir}/../../merlin-project.xml</extend>
  +  <extend>${basedir}/../../project.xml</extend>
     <id>fulcrum-pool-api</id>
     <name>Fulcrum Pool API</name>
  -  <currentVersion>1.0.2</currentVersion>
  +  <currentVersion>1.0.3-dev</currentVersion>
     <package>org.apache.fulcrum.pool</package>
    
   </project>
  
  
  
  1.1                  jakarta-turbine-fulcrum/pool/api/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
    <properties>
      <title>Fulcrum Pool API</title>
      <author email="epugh@opensourceconnections.com">Eric Pugh</author>
    </properties>
  
    <body>
      <release version="1.0.3" date="in cvs">
        <action dev="epugh" type="update">
        	Bump versions, clean up dependencies
        </action>           
      </release>   
    </body>
  </document>
  
  
  
  
  1.4       +16 -4     jakarta-turbine-fulcrum/pool/impl/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-fulcrum/pool/impl/project.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- project.xml	30 Jun 2004 13:42:32 -0000	1.3
  +++ project.xml	20 Oct 2004 13:21:16 -0000	1.4
  @@ -1,26 +1,38 @@
   <?xml version="1.0"?>
   <project>
  -  <extend>${basedir}/../../merlin-project.xml</extend>
  +  <extend>${basedir}/../../project.xml</extend>
     <id>fulcrum-pool-impl</id>
     <name>Fulcrum Pool Component</name>
  -  <currentVersion>1.0.2</currentVersion>
  +  <currentVersion>1.0.3-dev</currentVersion>
   
     <dependencies>
       <dependency>
         <groupId>avalon-framework</groupId>
         <artifactId>avalon-framework-api</artifactId>
  -      <version>4.1.5</version>
  +      <version>4.2.0</version>
       </dependency>
       <dependency>
         <groupId>fulcrum</groupId>
         <artifactId>fulcrum-pool-api</artifactId>
  -      <version>1.0.2</version>
  +      <version>1.0.3-dev</version>
       </dependency>
       <dependency>
         <groupId>fulcrum</groupId>
         <artifactId>fulcrum-factory-api</artifactId>
         <version>1.0.2</version>
       </dependency>
  +    <dependency>
  +      <groupId>fulcrum</groupId>
  +      <artifactId>fulcrum-factory-impl</artifactId>
  +      <version>1.0.2</version>
  +    </dependency>    
  +    
  +    <!--  Needed only for testing -->
  +    <dependency>
  +      <groupId>fulcrum</groupId>
  +      <artifactId>fulcrum-testcontainer</artifactId>
  +      <version>1.0.4-dev</version>
  +    </dependency>    
   
     </dependencies>
   
  
  
  
  1.2       +2 -2      jakarta-turbine-fulcrum/pool/impl/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-fulcrum/pool/impl/maven.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- maven.xml	19 Nov 2003 11:26:55 -0000	1.1
  +++ maven.xml	20 Oct 2004 13:21:16 -0000	1.2
  @@ -1,7 +1,7 @@
   <project default="jar:jar" xmlns:maven="jelly:maven" xmlns:j="jelly:core" xmlns:util="jelly:util">
   
  -  <preGoal name="java:compile">
  +  <!--preGoal name="java:compile">
       <attainGoal name="avalon:meta"/>
  -  </preGoal>
  +  </preGoal-->
   
   </project>
  
  
  
  1.5       +4 -10     jakarta-turbine-fulcrum/pool/impl/src/test/org/apache/fulcrum/pool/PoolServiceTest.java
  
  Index: PoolServiceTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-fulcrum/pool/impl/src/test/org/apache/fulcrum/pool/PoolServiceTest.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- PoolServiceTest.java	30 Jun 2004 13:42:42 -0000	1.4
  +++ PoolServiceTest.java	20 Oct 2004 13:21:16 -0000	1.5
  @@ -5,7 +5,7 @@
    * Window>Preferences>Java>Code Generation>Code and Comments
    */
   package org.apache.fulcrum.pool;
  -import org.apache.avalon.merlin.unit.AbstractMerlinTestCase;
  +import org.apache.fulcrum.testcontainer.BaseUnitTest;
   
   /**
    * @author Eric Pugh
  @@ -14,7 +14,7 @@
    * To change the template for this generated type comment go to
    * Window>Preferences>Java>Code Generation>Code and Comments
    */
  -public class PoolServiceTest extends AbstractMerlinTestCase
  +public class PoolServiceTest extends BaseUnitTest
   {
       private PoolService poolService = null;
       /**
  @@ -30,14 +30,8 @@
       public void setUp() throws Exception
       {
           super.setUp();
  -        try
  -        {
  -            poolService = (PoolService) this.resolve( "/test/pool" );
  -        }
  -        catch (Throwable e)
  -        {
  -            fail(e.getMessage());
  -        }
  +
  +        poolService = (PoolService) this.resolve( PoolService.class.getName() );
       }
     
       /*
  
  
  
  1.2       +5 -0      jakarta-turbine-fulcrum/pool/impl/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-fulcrum/pool/impl/xdocs/changes.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- changes.xml	30 Jun 2004 13:42:52 -0000	1.1
  +++ changes.xml	20 Oct 2004 13:21:16 -0000	1.2
  @@ -6,6 +6,11 @@
     </properties>
   
     <body>
  +    <release version="1.0.3" date="in cvs">
  +      <action dev="epugh" type="update">
  +      	Clean up dependencies.  Use TestContainer.
  +      </action>           
  +    </release>     
       <release version="1.0.2" date="in cvs">
         <action dev="epugh" type="update">
         	Update to use Merlin 3.3.0
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org