incubator-graffito-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r160461 - in incubator/graffito/trunk/engine: maven.xml project.xml src/test/org/apache/portals/graffito/engine/TestTransactionImpl.java
Date Thu, 07 Apr 2005 20:31:59 GMT
Author: clombart
Date: Thu Apr  7 13:31:58 2005
New Revision: 160461

URL: http://svn.apache.org/viewcvs?view=rev&rev=160461
Log:
* Update J2 dependencies
* Use timestamp for dates

Modified:
    incubator/graffito/trunk/engine/maven.xml
    incubator/graffito/trunk/engine/project.xml
    incubator/graffito/trunk/engine/src/test/org/apache/portals/graffito/engine/TestTransactionImpl.java

Modified: incubator/graffito/trunk/engine/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/engine/maven.xml?view=diff&r1=160460&r2=160461
==============================================================================
--- incubator/graffito/trunk/engine/maven.xml (original)
+++ incubator/graffito/trunk/engine/maven.xml Thu Apr  7 13:31:58 2005
@@ -33,7 +33,7 @@
     
     <copy file="src/test/repository.xml" todir="${maven.test.dest}" overwrite="true" failonerror="false">
           <filterset begintoken="@" endtoken="@">
-            <filter token="PLATFORM" value="${org.apache.portals.graffito.database.ojb.plateform}"/>
+            <filter token="PLATFORM" value="${org.apache.portals.graffito.database.ojb.platform}"/>
           </filterset>  
           <filterset begintoken="@" endtoken="@">
             <filter token="DATASOURCE" value="${org.apache.portals.graffito.database.ojb.datasource}"/>

Modified: incubator/graffito/trunk/engine/project.xml
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/engine/project.xml?view=diff&r1=160460&r2=160461
==============================================================================
--- incubator/graffito/trunk/engine/project.xml (original)
+++ incubator/graffito/trunk/engine/project.xml Thu Apr  7 13:31:58 2005
@@ -55,37 +55,37 @@
     <dependency>
       <id>jetspeed-persistence</id>
       <groupId>jetspeed2</groupId>
-      <version>2.0-a1-dev</version>
+      <version>2.0-M3-dev</version>
     </dependency>
     
     <dependency>
       <id>jetspeed-api</id>
       <groupId>jetspeed2</groupId>
-      <version>2.0-a1-dev</version>
+      <version>2.0-M3-dev</version>
     </dependency>
 
     <dependency>
       <id>jetspeed-security</id>
       <groupId>jetspeed2</groupId>
-      <version>2.0-a1-dev</version>
+      <version>2.0-M3-dev</version>
     </dependency>    
      
      <dependency>
       <id>jetspeed-cm</id>
       <groupId>jetspeed2</groupId>
-      <version>2.0-a1-dev</version>
+      <version>2.0-M3-dev</version>
     </dependency>
        
     <dependency>
       <id>jetspeed-rdbms</id>
       <groupId>jetspeed2</groupId>
-      <version>2.0-a1-dev</version>
+      <version>2.0-M3-dev</version>
     </dependency>
 
     <dependency>
       <id>jetspeed-commons</id>
       <groupId>jetspeed2</groupId>
-      <version>2.0-a1-dev</version>
+      <version>2.0-M3-dev</version>
     </dependency>    
     
     <dependency>
@@ -100,7 +100,7 @@
     
     <dependency>
       <id>ojb:db-ojb</id>
-      <version>1.0.1</version>
+      <version>1.0.2</version>
     </dependency>
     
     <dependency>
@@ -180,32 +180,32 @@
                  
     <dependency>
       <id>springframework:spring-core</id>
-      <version>1.1.1</version>
+      <version>1.1.5</version>
     </dependency>
 
     <dependency>
       <id>springframework:spring-aop</id>
-      <version>1.1.1</version>
+      <version>1.1.5</version>
     </dependency>
 
     <dependency>
       <id>springframework:spring-context</id>
-      <version>1.1.1</version>
+      <version>1.1.5</version>
     </dependency>
 
     <dependency>
       <id>springframework:spring-dao</id>
-      <version>1.1.1</version>
+      <version>1.1.5</version>
     </dependency>
 
     <dependency>
       <id>springframework:spring-orm</id>
-      <version>1.1.1</version>
+      <version>1.1.5</version>
     </dependency>
 
    <dependency>
       <id>cglib</id>
-      <version>2.0.1</version>
+      <version>full-2.0.2</version>
     </dependency>
     
     <dependency>

Modified: incubator/graffito/trunk/engine/src/test/org/apache/portals/graffito/engine/TestTransactionImpl.java
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/engine/src/test/org/apache/portals/graffito/engine/TestTransactionImpl.java?view=diff&r1=160460&r2=160461
==============================================================================
--- incubator/graffito/trunk/engine/src/test/org/apache/portals/graffito/engine/TestTransactionImpl.java
(original)
+++ incubator/graffito/trunk/engine/src/test/org/apache/portals/graffito/engine/TestTransactionImpl.java
Thu Apr  7 13:31:58 2005
@@ -16,7 +16,7 @@
 
 package org.apache.portals.graffito.engine;
 
-import java.sql.Date;
+import java.sql.Timestamp;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
@@ -55,8 +55,8 @@
     public void testCommit() throws ContentManagementException
     {
         Folder folder = contentModelService.createFolder();
-        folder.setCreationDate(new Date(System.currentTimeMillis()));
-        folder.setLastModified(new Date(System.currentTimeMillis()));
+        folder.setCreationDate(new Timestamp(System.currentTimeMillis()));
+        folder.setLastModified(new Timestamp(System.currentTimeMillis()));
 
         folder.setDescription("Folder 1");
         folder.setName("folder1");
@@ -67,8 +67,8 @@
         contentModelService.addFolder(folder);
 
         folder = contentModelService.createFolder();
-        folder.setCreationDate(new Date(System.currentTimeMillis()));
-        folder.setLastModified(new Date(System.currentTimeMillis()));
+        folder.setCreationDate(new Timestamp(System.currentTimeMillis()));
+        folder.setLastModified(new Timestamp(System.currentTimeMillis()));
 
         folder.setDescription("Folder 2");
         folder.setName("folder2");
@@ -87,8 +87,8 @@
     public void testRollback()  throws ContentManagementException
     {
         Folder folder = contentModelService.createFolder();
-        folder.setCreationDate(new Date(System.currentTimeMillis()));
-        folder.setLastModified(new Date(System.currentTimeMillis()));
+        folder.setCreationDate(new Timestamp(System.currentTimeMillis()));
+        folder.setLastModified(new Timestamp(System.currentTimeMillis()));
 
         folder.setDescription("Folder 1");
         folder.setName("folder1");
@@ -99,8 +99,8 @@
         contentModelService.addFolder(folder);
 
         folder = contentModelService.createFolder();
-        folder.setCreationDate(new Date(System.currentTimeMillis()));
-        folder.setLastModified(new Date(System.currentTimeMillis()));
+        folder.setCreationDate(new Timestamp(System.currentTimeMillis()));
+        folder.setLastModified(new Timestamp(System.currentTimeMillis()));
 
         folder.setDescription("Folder 2");
         folder.setName("folder2");



Mime
View raw message