portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/components/persistence project.xml
Date Fri, 27 Feb 2004 20:26:58 GMT
weaver      2004/02/27 12:26:58

  Modified:    components/persistence/src/test/org/apache/jetspeed/components/persistence
                        TestPersistenceContainer.java
               components/persistence project.xml
  Log:
  needs JTA and Tyrex jars for tests to run
  
  Revision  Changes    Path
  1.6       +2 -4      jakarta-jetspeed-2/components/persistence/src/test/org/apache/jetspeed/components/persistence/TestPersistenceContainer.java
  
  Index: TestPersistenceContainer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/persistence/src/test/org/apache/jetspeed/components/persistence/TestPersistenceContainer.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TestPersistenceContainer.java	27 Feb 2004 17:48:35 -0000	1.5
  +++ TestPersistenceContainer.java	27 Feb 2004 20:26:58 -0000	1.6
  @@ -580,8 +580,7 @@
       protected void setUp() throws Exception
       {
           super.setUp();
  -        System.out.println("============== SET UP");
  -        
  +                
           ClassLoader cl = Thread.currentThread().getContextClassLoader();
           Reader rdbmsScript = new InputStreamReader(cl
                   .getResourceAsStream("org/apache/jetspeed/containers/rdbms.container.groovy"));
  @@ -601,8 +600,7 @@
       }
   
       protected void tearDown() throws Exception
  -    {
  -        System.out.println("============== TEAR DOWN");
  +    {        
           // parent.stop();
           rdbmsContainer.stop();
           persistenceContainer.stop();
  
  
  
  1.4       +15 -0     jakarta-jetspeed-2/components/persistence/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/persistence/project.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- project.xml	24 Feb 2004 00:47:22 -0000	1.3
  +++ project.xml	27 Feb 2004 20:26:58 -0000	1.4
  @@ -188,10 +188,25 @@
           <war.bundle.jar>true</war.bundle.jar>
         </properties>
       </dependency>
  +    <dependency>
  +      <id>jta</id>
  +      <jar>jta1.0.1.jar</jar>
  +      <properties>
  +        <war.bundle.jar>true</war.bundle.jar>
  +      </properties>
  +    </dependency>
        <dependency>
         <!-- portlet-api.jar must be in %MAVEN_HOME%respository/portlet-api/jars -->
         <id>portlet-api</id>
         <version>1.0</version>
  +      <properties>
  +        <war.bundle.jar>false</war.bundle.jar>
  +      </properties>
  +    </dependency>
  +    <!-- Testing only -->
  +    <dependency>
  +      <id>tyrex</id>
  +      <version>1.0.1</version>
         <properties>
           <war.bundle.jar>false</war.bundle.jar>
         </properties>
  
  
  

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


Mime
View raw message