You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by es...@apache.org on 2008/01/21 19:15:44 UTC

svn commit: r613955 - in /portals/wsrp4j/branches/persistence: ./ commons-producer/src/main/java/org/apache/wsrp4j/commons/producer/persistence/ persistence-producer/ persistence-producer/src/ persistence-producer/src/main/ persistence-producer/src/mai...

Author: esm
Date: Mon Jan 21 10:15:40 2008
New Revision: 613955

URL: http://svn.apache.org/viewvc?rev=613955&view=rev
Log:
Code reorg.

Added:
    portals/wsrp4j/branches/persistence/persistence-producer/
    portals/wsrp4j/branches/persistence/persistence-producer/pom.xml   (with props)
    portals/wsrp4j/branches/persistence/persistence-producer/src/
    portals/wsrp4j/branches/persistence/persistence-producer/src/main/
    portals/wsrp4j/branches/persistence/persistence-producer/src/main/java/
    portals/wsrp4j/branches/persistence/persistence-producer/src/main/java/org/
    portals/wsrp4j/branches/persistence/persistence-producer/src/main/java/org/apache/
    portals/wsrp4j/branches/persistence/persistence-producer/src/main/java/org/apache/wsrp4j/
    portals/wsrp4j/branches/persistence/persistence-producer/src/main/java/org/apache/wsrp4j/commons/
    portals/wsrp4j/branches/persistence/persistence-producer/src/main/java/org/apache/wsrp4j/commons/producer/
    portals/wsrp4j/branches/persistence/persistence-producer/src/main/java/org/apache/wsrp4j/commons/producer/persistence/
      - copied from r609396, portals/wsrp4j/branches/persistence/commons-producer/src/main/java/org/apache/wsrp4j/commons/producer/persistence/
    portals/wsrp4j/branches/persistence/persistence-producer/src/main/java/org/apache/wsrp4j/commons/producer/persistence/BaseProducerPersistence.java
      - copied unchanged from r613953, portals/wsrp4j/branches/persistence/commons-producer/src/main/java/org/apache/wsrp4j/commons/producer/persistence/BaseProducerPersistence.java
    portals/wsrp4j/branches/persistence/persistence-producer/src/main/java/org/apache/wsrp4j/commons/producer/persistence/InMemoryProducerConfigurationService.java
      - copied unchanged from r613953, portals/wsrp4j/branches/persistence/commons-producer/src/main/java/org/apache/wsrp4j/commons/producer/persistence/InMemoryProducerConfigurationService.java
    portals/wsrp4j/branches/persistence/persistence-producer/src/main/java/org/apache/wsrp4j/commons/producer/persistence/PersistentProducerConfigurationService.java
      - copied unchanged from r613953, portals/wsrp4j/branches/persistence/commons-producer/src/main/java/org/apache/wsrp4j/commons/producer/persistence/PersistentProducerConfigurationService.java
    portals/wsrp4j/branches/persistence/persistence-producer/src/main/java/org/apache/wsrp4j/commons/producer/persistence/ProducerConfigurationService.java
      - copied unchanged from r613953, portals/wsrp4j/branches/persistence/commons-producer/src/main/java/org/apache/wsrp4j/commons/producer/persistence/ProducerConfigurationService.java
    portals/wsrp4j/branches/persistence/persistence-producer/src/main/java/org/apache/wsrp4j/commons/producer/persistence/ProducerPersistence.java
      - copied unchanged from r613953, portals/wsrp4j/branches/persistence/commons-producer/src/main/java/org/apache/wsrp4j/commons/producer/persistence/ProducerPersistence.java
    portals/wsrp4j/branches/persistence/persistence-producer/src/test/
    portals/wsrp4j/branches/persistence/persistence-producer/src/test/java/
    portals/wsrp4j/branches/persistence/persistence-producer/src/test/java/org/
    portals/wsrp4j/branches/persistence/persistence-producer/src/test/java/org/apache/
    portals/wsrp4j/branches/persistence/persistence-producer/src/test/java/org/apache/wsrp4j/
    portals/wsrp4j/branches/persistence/persistence-producer/src/test/java/org/apache/wsrp4j/AppTest.java   (with props)
Removed:
    portals/wsrp4j/branches/persistence/commons-producer/src/main/java/org/apache/wsrp4j/commons/producer/persistence/
Modified:
    portals/wsrp4j/branches/persistence/persistence-xml/pom.xml
    portals/wsrp4j/branches/persistence/pom.xml

Added: portals/wsrp4j/branches/persistence/persistence-producer/pom.xml
URL: http://svn.apache.org/viewvc/portals/wsrp4j/branches/persistence/persistence-producer/pom.xml?rev=613955&view=auto
==============================================================================
--- portals/wsrp4j/branches/persistence/persistence-producer/pom.xml (added)
+++ portals/wsrp4j/branches/persistence/persistence-producer/pom.xml Mon Jan 21 10:15:40 2008
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright 2005 The Apache Software Foundation
+    
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<!--+
+    | This is the main Maven file for wsrp4j-persistence-xml
+    | @version $Id: pom.xml 609396 2008-01-06 20:45:53Z esm $
+    +-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    
+    <parent>
+        <artifactId>wsrp4j</artifactId>
+        <groupId>org.apache.wsrp4j</groupId>
+        <version>0.5-SNAPSHOT</version>
+    </parent>
+    
+    <modelVersion>4.0.0</modelVersion>
+    
+    <artifactId>wsrp4j-persistence-producer</artifactId>
+    <packaging>jar</packaging>
+    <name>WSRP4J Producer Persistence</name>
+    <description>
+        Producer Persistence API
+    </description>
+    
+    <dependencies>
+        
+        <!-- Compile-time dependencies ============================ -->
+                
+        <dependency>
+            <artifactId>wsrp4j-commons-producer</artifactId>
+            <groupId>org.apache.wsrp4j</groupId>
+            <version>${pom.version}</version>
+        </dependency>
+        
+        <dependency>
+            <artifactId>commons-logging-api</artifactId>
+            <groupId>commons-logging</groupId>
+            <version>${commons-logging.version}</version>
+        </dependency>
+        
+        <!-- Runtime dependencies ================================= -->
+        
+        
+        <!-- Provided dependencies ================================ -->
+        
+        <!--<dependency>
+            <artifactId>servlet-api</artifactId>
+            <groupId>javax.servlet</groupId>
+            <version>${servlet-api.version}</version>
+            <scope>provided</scope>
+        </dependency>-->
+        
+        <!-- Test dependencies ==================================== -->
+        
+        <dependency>
+            <artifactId>junit</artifactId>
+            <groupId>junit</groupId>
+            <version>${junit.version}</version>
+            <scope>test</scope>
+        </dependency>        
+        
+    </dependencies>
+    
+</project>

Propchange: portals/wsrp4j/branches/persistence/persistence-producer/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: portals/wsrp4j/branches/persistence/persistence-producer/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: portals/wsrp4j/branches/persistence/persistence-producer/src/test/java/org/apache/wsrp4j/AppTest.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/branches/persistence/persistence-producer/src/test/java/org/apache/wsrp4j/AppTest.java?rev=613955&view=auto
==============================================================================
--- portals/wsrp4j/branches/persistence/persistence-producer/src/test/java/org/apache/wsrp4j/AppTest.java (added)
+++ portals/wsrp4j/branches/persistence/persistence-producer/src/test/java/org/apache/wsrp4j/AppTest.java Mon Jan 21 10:15:40 2008
@@ -0,0 +1,38 @@
+package org.apache.wsrp4j;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest 
+    extends TestCase
+{
+    /**
+     * Create the test case
+     *
+     * @param testName name of the test case
+     */
+    public AppTest( String testName )
+    {
+        super( testName );
+    }
+
+    /**
+     * @return the suite of tests being tested
+     */
+    public static Test suite()
+    {
+        return new TestSuite( AppTest.class );
+    }
+
+    /**
+     * Rigourous Test :-)
+     */
+    public void testApp()
+    {
+        assertTrue( true );
+    }
+}

Propchange: portals/wsrp4j/branches/persistence/persistence-producer/src/test/java/org/apache/wsrp4j/AppTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: portals/wsrp4j/branches/persistence/persistence-producer/src/test/java/org/apache/wsrp4j/AppTest.java
------------------------------------------------------------------------------
    svn:keywords = Id

Propchange: portals/wsrp4j/branches/persistence/persistence-producer/src/test/java/org/apache/wsrp4j/AppTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: portals/wsrp4j/branches/persistence/persistence-xml/pom.xml
URL: http://svn.apache.org/viewvc/portals/wsrp4j/branches/persistence/persistence-xml/pom.xml?rev=613955&r1=613954&r2=613955&view=diff
==============================================================================
--- portals/wsrp4j/branches/persistence/persistence-xml/pom.xml (original)
+++ portals/wsrp4j/branches/persistence/persistence-xml/pom.xml Mon Jan 21 10:15:40 2008
@@ -42,16 +42,23 @@
         <!-- Compile-time dependencies ============================ -->
         
         <dependency>
-            <artifactId>wsrp4j-commons-consumer</artifactId>
+            <artifactId>wsrp4j-persistence-producer</artifactId>
             <groupId>org.apache.wsrp4j</groupId>
             <version>${pom.version}</version>
+            <scope>compile</scope>
         </dependency>
         
         <dependency>
-            <artifactId>wsrp4j-commons-producer</artifactId>
+            <artifactId>wsrp4j-commons-consumer</artifactId>
             <groupId>org.apache.wsrp4j</groupId>
             <version>${pom.version}</version>
         </dependency>
+        
+        <!--<dependency>
+            <artifactId>wsrp4j-commons-producer</artifactId>
+            <groupId>org.apache.wsrp4j</groupId>
+            <version>${pom.version}</version>
+        </dependency>-->
         
         <dependency>
             <artifactId>castor</artifactId>

Modified: portals/wsrp4j/branches/persistence/pom.xml
URL: http://svn.apache.org/viewvc/portals/wsrp4j/branches/persistence/pom.xml?rev=613955&r1=613954&r2=613955&view=diff
==============================================================================
--- portals/wsrp4j/branches/persistence/pom.xml (original)
+++ portals/wsrp4j/branches/persistence/pom.xml Mon Jan 21 10:15:40 2008
@@ -66,6 +66,8 @@
         <!--module>consumer-swingconsumer</module-->
         <!--module>persistence-db</module-->
         <module>persistence-xml</module>
+        <module>persistence-producer</module>
+        <!--module>persistence-consumer</module-->
         <module>producer</module>
         <module>testportlet</module>
     </modules>