You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by jo...@apache.org on 2005/10/29 23:09:09 UTC

svn commit: r329483 - in /webservices/jaxme/branches/MAVEN/projects/pm: maven.xml project.xml src/test/resources/initdb.sql

Author: jochen
Date: Sat Oct 29 14:08:35 2005
New Revision: 329483

URL: http://svn.apache.org/viewcvs?rev=329483&view=rev
Log:
Switching to Derby, in the hope to fix Gump's nightly error reports.

Modified:
    webservices/jaxme/branches/MAVEN/projects/pm/maven.xml
    webservices/jaxme/branches/MAVEN/projects/pm/project.xml
    webservices/jaxme/branches/MAVEN/projects/pm/src/test/resources/initdb.sql

Modified: webservices/jaxme/branches/MAVEN/projects/pm/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/jaxme/branches/MAVEN/projects/pm/maven.xml?rev=329483&r1=329482&r2=329483&view=diff
==============================================================================
--- webservices/jaxme/branches/MAVEN/projects/pm/maven.xml (original)
+++ webservices/jaxme/branches/MAVEN/projects/pm/maven.xml Sat Oct 29 14:08:35 2005
@@ -21,9 +21,9 @@
 
 <postGoal name="test:test-resources">
     <ant:property name="build.pm.db" location="${maven.test.dest}/db"/>
-    <ant:property name="jdbc.pm.driver" value="org.hsqldb.jdbcDriver"/>
-    <ant:property name="jdbc.pm.url" value="jdbc:hsqldb:${build.pm.db}/db"/>
-    <ant:property name="jdbc.pm.user" value="sa"/>
+    <ant:property name="jdbc.pm.driver" value="org.apache.derby.jdbc.EmbeddedDriver"/>
+    <ant:property name="jdbc.pm.url" value="jdbc:derby:${build.pm.db}/db"/>
+    <ant:property name="jdbc.pm.user" value=""/>
     <ant:property name="jdbc.pm.password" value=""/>
             
 	<ant:path id="pm.class.path">
@@ -34,9 +34,9 @@
     <ant:delete dir="${build.pm.db}"/>
     <ant:mkdir dir="${build.pm.db}"/>
 
-    <sql classpathref="pm.class.path" driver="${jdbc.pm.driver}"
+    <ant:sql classpathref="pm.class.path" driver="${jdbc.pm.driver}"
 	        password="${jdbc.pm.password}" src="${maven.test.dest}/initdb.sql"
-	       url="${jdbc.pm.url}" userid="${jdbc.pm.user}"/>	
+	       url="${jdbc.pm.url};create=true" userid="${jdbc.pm.user}"/>	
 	<ant:taskdef name="xjc" classname="org.apache.ws.jaxme.generator.XJCTask" classpathref="pm.class.path"/>
 	<ant:xjc target="${maven.test.dest}">
             <ant:schema dir="${maven.test.dest}" includes="*.xsd"/>

Modified: webservices/jaxme/branches/MAVEN/projects/pm/project.xml
URL: http://svn.apache.org/viewcvs/webservices/jaxme/branches/MAVEN/projects/pm/project.xml?rev=329483&r1=329482&r2=329483&view=diff
==============================================================================
--- webservices/jaxme/branches/MAVEN/projects/pm/project.xml (original)
+++ webservices/jaxme/branches/MAVEN/projects/pm/project.xml Sat Oct 29 14:08:35 2005
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
 <!--
 	
 	Copyright 2004 The Apache Software Foundation.
@@ -15,96 +15,97 @@
 	See the License for the specific language governing permissions and
 	limitations under the License.
 	
--->
-<project>
-    <pomVersion>3</pomVersion>
-    <id>jaxme:jaxmepm</id>
-    <artifactId>jaxmepm</artifactId>
-    <name>JaxMePM</name>
-    <groupId>jaxme</groupId>
-    <package>org.apache.ws.jaxme.pm</package>
-    <description>JaxMe Persistence Management means the ability to read JaxMe objects from, insert them into, update them in, or delete them from the database. These operations are supported by JaxMe's persistence managers.&#xD;
-&#xD;
-The word database has a very broad meaning. The PM layer restricts itself to the most basic operations. As a result, almost arbitrary types of databases may be used:&#xD;
-&#xD;
-    * Relational databases via JDBC; the JaxMeJdbcSG may be used to read an existing database schema via JDBC metadata and converts the tables into JaxMe objects. For any table, it also creates a specific persistence manager, which is a subclass of PMJdbcImpl.&#xD;
-    * Native XML databases via XML:DB, a database independent API, much like JDBC; native XML databases include , , or . The most important difference between native XML and relational databases is, that the formers have no limitations on the structure of XML documents being stored. As a consequence, there is no need for specific support in the schema and XmlDbPM, the persistence manager for XML:DB, is generic.&#xD;
-    * Native XML databases via proprietary API's or protocols; currently this only includes Tamino via the InoManager.</description>
-    <url>http://ws.apache.org/jaxme/pm/</url>
-    <build>
-        <unitTest>
-            <resources>
-                <resource>
-                    <directory>src/test/resources/</directory>
-                    <targetPath>./</targetPath>
-                    <filtering>false</filtering>
-                </resource>
-            </resources>
-        </unitTest>
-        <sourceModifications>
-            <sourceModification>
-                <className>com.softwareag.tamino.db.api.objectModel.sax.TSAXDocument</className>
-                <excludes>
-                    <exclude>org/apache/ws/jaxme/**/api4j/*.*</exclude>
-                </excludes>
-            </sourceModification>
-        </sourceModifications>
-    </build>
-    <extend>../../common-build/project.xml</extend>
-    <dependencies>
-        <dependency>
-            <groupId>xmldb</groupId>
-            <artifactId>xmldb-api</artifactId>
-            <version>20021118</version>
-            <type>jar</type>
-        </dependency>
-        <dependency>
-            <groupId>jaxme</groupId>
-            <artifactId>jaxmeapi</artifactId>
-            <version>${pom.currentVersion}</version>
-            <type>jar</type>
-            <url>http://ws.apache.org/jaxme/api/</url>
-        </dependency>
-        <dependency>
-            <groupId>jaxme</groupId>
-            <artifactId>jaxmexs</artifactId>
-            <version>${pom.currentVersion}</version>
-            <type>jar</type>
-            <url>http://ws.apache.org/jaxme/xs/</url>
-        </dependency>
-        <dependency>
-            <groupId>jaxme</groupId>
-            <artifactId>jaxme2</artifactId>
-            <version>${pom.currentVersion}</version>
-            <type>jar</type>
-            <url>http://ws.apache.org/jaxme/jm/</url>
-        </dependency>
-        <dependency>
-            <groupId>jaxme</groupId>
-            <artifactId>jaxmejs</artifactId>
-            <version>${pom.currentVersion}</version>
-            <type>jar</type>
-            <url>http://ws.apache.org/jaxme/js/</url>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>3.8.1</version>
-            <type>jar</type>
-            <url>http://www.junit.org</url>
-        </dependency>
-        <dependency>
-            <groupId>hsqldb</groupId>
-            <artifactId>hsqldb</artifactId>
-            <version>1.7.1</version>
-            <type>jar</type>
-        </dependency>
-        <dependency>
-            <groupId>commons-jelly</groupId>
-            <artifactId>commons-jelly-tags-fmt</artifactId>
-            <version>1.0</version>
-        </dependency>
-    </dependencies>
-    <shortDescription>The JaxMe Persistence Management</shortDescription>
-</project>
-
+-->
+<project>
+    <pomVersion>3</pomVersion>
+    <id>jaxme:jaxmepm</id>
+    <artifactId>jaxmepm</artifactId>
+    <name>JaxMePM</name>
+    <groupId>jaxme</groupId>
+    <package>org.apache.ws.jaxme.pm</package>
+    <description>JaxMe Persistence Management means the ability to read JaxMe objects from, insert them into, update them in, or delete them from the database. These operations are supported by JaxMe's persistence managers.&#xD;
+&#xD;
+The word database has a very broad meaning. The PM layer restricts itself to the most basic operations. As a result, almost arbitrary types of databases may be used:&#xD;
+&#xD;
+    * Relational databases via JDBC; the JaxMeJdbcSG may be used to read an existing database schema via JDBC metadata and converts the tables into JaxMe objects. For any table, it also creates a specific persistence manager, which is a subclass of PMJdbcImpl.&#xD;
+    * Native XML databases via XML:DB, a database independent API, much like JDBC; native XML databases include , , or . The most important difference between native XML and relational databases is, that the formers have no limitations on the structure of XML documents being stored. As a consequence, there is no need for specific support in the schema and XmlDbPM, the persistence manager for XML:DB, is generic.&#xD;
+    * Native XML databases via proprietary API's or protocols; currently this only includes Tamino via the InoManager.</description>
+    <url>http://ws.apache.org/jaxme/pm/</url>
+    <build>
+        <unitTest>
+            <resources>
+                <resource>
+                    <directory>src/test/resources/</directory>
+                    <targetPath>./</targetPath>
+                    <filtering>false</filtering>
+                </resource>
+            </resources>
+        </unitTest>
+        <sourceModifications>
+            <sourceModification>
+                <className>com.softwareag.tamino.db.api.objectModel.sax.TSAXDocument</className>
+                <excludes>
+                    <exclude>org/apache/ws/jaxme/**/api4j/*.*</exclude>
+                </excludes>
+            </sourceModification>
+        </sourceModifications>
+    </build>
+    <extend>../../common-build/project.xml</extend>
+    <dependencies>
+        <dependency>
+            <groupId>xmldb</groupId>
+            <artifactId>xmldb-api</artifactId>
+            <version>20021118</version>
+            <type>jar</type>
+        </dependency>
+        <dependency>
+            <groupId>jaxme</groupId>
+            <artifactId>jaxmeapi</artifactId>
+            <version>${pom.currentVersion}</version>
+            <type>jar</type>
+            <url>http://ws.apache.org/jaxme/api/</url>
+        </dependency>
+        <dependency>
+            <groupId>jaxme</groupId>
+            <artifactId>jaxmexs</artifactId>
+            <version>${pom.currentVersion}</version>
+            <type>jar</type>
+            <url>http://ws.apache.org/jaxme/xs/</url>
+        </dependency>
+        <dependency>
+            <groupId>jaxme</groupId>
+            <artifactId>jaxme2</artifactId>
+            <version>${pom.currentVersion}</version>
+            <type>jar</type>
+            <url>http://ws.apache.org/jaxme/jm/</url>
+        </dependency>
+        <dependency>
+            <groupId>jaxme</groupId>
+            <artifactId>jaxmejs</artifactId>
+            <version>${pom.currentVersion}</version>
+            <type>jar</type>
+            <url>http://ws.apache.org/jaxme/js/</url>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>3.8.1</version>
+            <type>jar</type>
+            <url>http://www.junit.org</url>
+        </dependency>
+        <dependency>
+            <groupId>commons-jelly</groupId>
+            <artifactId>commons-jelly-tags-fmt</artifactId>
+            <version>1.0</version>
+            <type>jar</type>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.derby</groupId>
+            <artifactId>derby</artifactId>
+            <version>10.1.1.0</version>
+            <type>jar</type>
+        </dependency>
+    </dependencies>
+    <shortDescription>The JaxMe Persistence Management</shortDescription>
+</project>
+

Modified: webservices/jaxme/branches/MAVEN/projects/pm/src/test/resources/initdb.sql
URL: http://svn.apache.org/viewcvs/webservices/jaxme/branches/MAVEN/projects/pm/src/test/resources/initdb.sql?rev=329483&r1=329482&r2=329483&view=diff
==============================================================================
Binary files - no diff available.



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