continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tryg...@apache.org
Subject svn commit: r225644 - in /maven/continuum/branches/trygvis-test: continuum-model/dump-ddl.sh continuum-model/pom.xml continuum-model/src/main/resources/META-INF/package.jdo continuum-plexus-application/src/conf/application.xml
Date Wed, 27 Jul 2005 22:15:16 GMT
Author: trygvis
Date: Wed Jul 27 15:15:08 2005
New Revision: 225644

URL: http://svn.apache.org/viewcvs?rev=225644&view=rev
Log: (empty)

Added:
    maven/continuum/branches/trygvis-test/continuum-model/dump-ddl.sh   (with props)
Modified:
    maven/continuum/branches/trygvis-test/continuum-model/pom.xml
    maven/continuum/branches/trygvis-test/continuum-model/src/main/resources/META-INF/package.jdo
    maven/continuum/branches/trygvis-test/continuum-plexus-application/src/conf/application.xml

Added: maven/continuum/branches/trygvis-test/continuum-model/dump-ddl.sh
URL: http://svn.apache.org/viewcvs/maven/continuum/branches/trygvis-test/continuum-model/dump-ddl.sh?rev=225644&view=auto
==============================================================================
--- maven/continuum/branches/trygvis-test/continuum-model/dump-ddl.sh (added)
+++ maven/continuum/branches/trygvis-test/continuum-model/dump-ddl.sh Wed Jul 27 15:15:08
2005
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+#hsqldb
+CONNECTION="-Djavax.jdo.option.ConnectionDriverName=org.hsqldb.jdbcDriver -Djavax.jdo.option.ConnectionURL=jdbc:hsqldb:database"
+
+#derby
+CONNECTION="-Djavax.jdo.option.ConnectionDriverName=org.apache.derby.jdbc.EmbeddedDriver
-Djavax.jdo.option.ConnectionURL=jdbc:derby:database;create=true"
+
+java \
+  $CONNECTION \
+  -cp $HOME/.m2/repository/log4j/log4j/1.2.8/log4j-1.2.8.jar:\
+$HOME/.m2/repository/jdo/jdo/2.0-beta/jdo-2.0-beta.jar:\
+$HOME/.m2/repository/jpox/jpox/1.1.0-beta-4-c1/jpox-1.1.0-beta-4-c1.jar:\
+$HOME/.m2/repository/jpox/jpox-enhancer/1.1.0-beta-4-c1/jpox-enhancer-1.1.0-beta-4-c1.jar:\
+$HOME/.m2/repository/hsqldb/hsqldb/1.7.3.3/hsqldb-1.7.3.3.jar:\
+$HOME/.m2/repository/org/apache/incubator/derby/derby/10.0.2.1/derby-10.0.2.1.jar:\
+target/classes \
+  org.jpox.SchemaTool \
+  -dumpDdl ddl.txt \
+  target/classes/META-INF/package.jdo

Propchange: maven/continuum/branches/trygvis-test/continuum-model/dump-ddl.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/branches/trygvis-test/continuum-model/dump-ddl.sh
------------------------------------------------------------------------------
    svn:executable = *

Modified: maven/continuum/branches/trygvis-test/continuum-model/pom.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/branches/trygvis-test/continuum-model/pom.xml?rev=225644&r1=225643&r2=225644&view=diff
==============================================================================
--- maven/continuum/branches/trygvis-test/continuum-model/pom.xml (original)
+++ maven/continuum/branches/trygvis-test/continuum-model/pom.xml Wed Jul 27 15:15:08 2005
@@ -19,15 +19,19 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jpox-plugin</artifactId>
-        <version>1.0</version>
+        <version>1.0.1-SNAPSHOT</version>
         <executions>
           <execution>
-            <id>foo</id>
             <goals>
               <goal>enhance</goal>
             </goals>
           </execution>
         </executions>
+        <configuration>
+          <driverName>org.hsqldb.jdbcDriver</driverName>
+          <url>jdbc:hsqldb:mem:foo</url>
+          <username>sa</username>
+        </configuration>
       </plugin>
       <plugin>
         <groupId>org.codehaus.modello</groupId>

Modified: maven/continuum/branches/trygvis-test/continuum-model/src/main/resources/META-INF/package.jdo
URL: http://svn.apache.org/viewcvs/maven/continuum/branches/trygvis-test/continuum-model/src/main/resources/META-INF/package.jdo?rev=225644&r1=225643&r2=225644&view=diff
==============================================================================
--- maven/continuum/branches/trygvis-test/continuum-model/src/main/resources/META-INF/package.jdo
(original)
+++ maven/continuum/branches/trygvis-test/continuum-model/src/main/resources/META-INF/package.jdo
Wed Jul 27 15:15:08 2005
@@ -7,6 +7,13 @@
 <jdo>
   <package name="org.apache.maven.continuum.project">
     <class name="ContinuumProject" detachable="true" identity-type="application">
+<!--
+      <inheritance strategy="new-table">
+        <discriminator strategy="class-name">
+          <column name="DISCRIMINATOR" jdbc-type="VARCHAR" length="128"/>
+        </discriminator>
+      </inheritance>
+-->
       <inheritance strategy="superclass-table">
         <discriminator strategy="class-name">
           <column name="PROJECT_TYPE"/>
@@ -107,26 +114,26 @@
       <field name="version" persistence-modifier="persistent"/>
     </class>
     <class name="MavenTwoProject" persistence-capable-superclass="org.apache.maven.continuum.project.ContinuumProject"
detachable="true">
-      <inheritance strategy="superclass-table"/>
+      <!-- <inheritance strategy="superclass-table"/> -->
       <field name="goals" persistence-modifier="persistent">
         <column name="M2_GOALS"/>
       </field>
     </class>
     <class name="MavenOneProject" persistence-capable-superclass="org.apache.maven.continuum.project.ContinuumProject"
detachable="true">
-      <inheritance strategy="superclass-table"/>
+      <!-- <inheritance strategy="superclass-table"/> -->
       <field name="goals" persistence-modifier="persistent">
         <column name="M1_GOALS"/>
       </field>
     </class>
     <class name="AntProject" persistence-capable-superclass="org.apache.maven.continuum.project.ContinuumProject"
detachable="true">
-      <inheritance strategy="superclass-table"/>
+      <!-- <inheritance strategy="superclass-table"/> -->
       <field name="executable" persistence-modifier="persistent">
         <column name="ANT_EXECUTABLE"/>
       </field>
       <field name="targets" persistence-modifier="persistent"/>
     </class>
     <class name="ShellProject" persistence-capable-superclass="org.apache.maven.continuum.project.ContinuumProject"
detachable="true">
-      <inheritance strategy="superclass-table"/>
+      <!-- <inheritance strategy="superclass-table"/> -->
       <field name="executable" persistence-modifier="persistent">
         <column name="SHELL_EXECUTABLE"/>
       </field>
@@ -212,10 +219,8 @@
     <class name="ScmResult" detachable="true" identity-type="datastore">
       <field name="success" persistence-modifier="persistent"/>
       <field name="providerMessage" persistence-modifier="persistent">
-        <column jdbc-type="CLOB"/>
       </field>
       <field name="commandOutput" persistence-modifier="persistent">
-        <column jdbc-type="CLOB"/>
       </field>
       <field name="files" persistence-modifier="persistent" default-fetch-group="true">
         <collection element-type="ScmFile" dependent-element="true"/>

Modified: maven/continuum/branches/trygvis-test/continuum-plexus-application/src/conf/application.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/branches/trygvis-test/continuum-plexus-application/src/conf/application.xml?rev=225644&r1=225643&r2=225644&view=diff
==============================================================================
--- maven/continuum/branches/trygvis-test/continuum-plexus-application/src/conf/application.xml
(original)
+++ maven/continuum/branches/trygvis-test/continuum-plexus-application/src/conf/application.xml
Wed Jul 27 15:15:08 2005
@@ -358,6 +358,31 @@
             <value></value>
           </property>
           -->
+
+          <!-- HSQLDB Configuration -->
+          <!--
+            NOTE: NO NOT USE THIS CONFIGURATION FOR A PRODUCTION SYSTEM.
+            HSQLDB keeps all data in memory at all times.
+          -->
+          <!--
+          <property>
+            <name>javax.jdo.option.ConnectionDriverName</name>
+            <value>org.hsqldb.jdbcDriver</value>
+          </property>
+          <property>
+            <name>javax.jdo.option.ConnectionURL</name>
+            <value>jdbc:hsqldb:${plexus.home}/database</value>
+          </property>
+          <property>
+            <name>javax.jdo.option.ConnectionUserName</name>
+            <value>sa</value>
+          </property>
+          <property>
+            <name>javax.jdo.option.ConnectionPassword</name>
+            <value></value>
+          </property>
+          -->
+
           <property>
             <name>org.jpox.transactionIsolation</name>
             <value>READ_COMMITTED</value>
@@ -370,12 +395,6 @@
             <name>javax.jdo.option.ConnectionPassword</name>
             <value></value>
           </property>
-<!--
-          <property>
-            <name></name>
-            <value></value>
-          </property>
--->
         </properties>
       </configuration>
     </component>



Mime
View raw message