[jbpm-commits] JBoss JBPM SVN: r4692 - in jbpm4/trunk: qa and 1 other directory.

do-not-reply at jboss.org do-not-reply at jboss.org
Sat May 2 04:22:17 EDT 2009


Author: tom.baeyens at jboss.com
Date: 2009-05-02 04:22:17 -0400 (Sat, 02 May 2009)
New Revision: 4692

Added:
   jbpm4/trunk/qa/hudson-jbpm4-base.sh
   jbpm4/trunk/qa/hudson-jbpm4-jboss.bat
   jbpm4/trunk/qa/hudson-jbpm4-jboss.sh
Removed:
   jbpm4/trunk/qa/jbpm4-jboss.bat
   jbpm4/trunk/qa/jbpm4-jboss.sh
Modified:
   jbpm4/trunk/modules/distro/src/main/files/jboss/datasources/jbpm-mysql-ds.xml
   jbpm4/trunk/modules/distro/src/main/files/jboss/datasources/jbpm-oracle-ds.xml
   jbpm4/trunk/modules/distro/src/main/files/jboss/datasources/jbpm-postgresql-ds.xml
   jbpm4/trunk/modules/distro/src/main/files/jboss/datasources/jbpm-sybase-ds.xml
Log:
qa run database fixes and prefixing hudson- to the hudson script in the qa directory

Modified: jbpm4/trunk/modules/distro/src/main/files/jboss/datasources/jbpm-mysql-ds.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/jboss/datasources/jbpm-mysql-ds.xml	2009-05-01 14:59:52 UTC (rev 4691)
+++ jbpm4/trunk/modules/distro/src/main/files/jboss/datasources/jbpm-mysql-ds.xml	2009-05-02 08:22:17 UTC (rev 4692)
@@ -5,11 +5,9 @@
     <jndi-name>JbpmDS</jndi-name>
 
     <xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class>
-    <xa-datasource-property name="ServerName">@jdbc.mysql.server@</xa-datasource-property>
-    <xa-datasource-property name="PortNumber">@jdbc.mysql.port@</xa-datasource-property>
-    <xa-datasource-property name="DatabaseName">@jdbc.mysql.database@</xa-datasource-property>
-    <user-name>@jdbc.mysql.username@</user-name>
-    <password>@jdbc.mysql.password@</password>
+    <xa-datasource-property name="URL">@jdbc.url@</xa-datasource-property>
+    <user-name>@jdbc.username@</user-name>
+    <password>@jdbc.password@</password>
 
     <!-- reduce isolation from the default level (repeatable read) -->
     <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>

Modified: jbpm4/trunk/modules/distro/src/main/files/jboss/datasources/jbpm-oracle-ds.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/jboss/datasources/jbpm-oracle-ds.xml	2009-05-01 14:59:52 UTC (rev 4691)
+++ jbpm4/trunk/modules/distro/src/main/files/jboss/datasources/jbpm-oracle-ds.xml	2009-05-02 08:22:17 UTC (rev 4692)
@@ -19,9 +19,9 @@
     <!-- uncomment to enable interleaving <interleaving/> -->
     <isSameRM-override-value>false</isSameRM-override-value>
     <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
-    <xa-datasource-property name="URL">jdbc:oracle:thin:@jdbc.oracle.username@/@jdbc.oracle.password@@@jdbc.oracle.server@:@jdbc.oracle.port@:@jdbc.oracle.database@</xa-datasource-property>
-    <xa-datasource-property name="User">@jdbc.oracle.username@</xa-datasource-property>
-    <xa-datasource-property name="Password">@jdbc.oracle.password@</xa-datasource-property>
+    <xa-datasource-property name="URL">@jdbc.url@</xa-datasource-property>
+    <xa-datasource-property name="User">@jdbc.username@</xa-datasource-property>
+    <xa-datasource-property name="Password">@jdbc.password@</xa-datasource-property>
     <!-- Uses the pingDatabase method to check a connection is still valid before handing it out from the pool -->
     <!--valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connection-checker-class-name-->
     <!-- Checks the Oracle error codes and messages for fatal errors -->

Modified: jbpm4/trunk/modules/distro/src/main/files/jboss/datasources/jbpm-postgresql-ds.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/jboss/datasources/jbpm-postgresql-ds.xml	2009-05-01 14:59:52 UTC (rev 4691)
+++ jbpm4/trunk/modules/distro/src/main/files/jboss/datasources/jbpm-postgresql-ds.xml	2009-05-02 08:22:17 UTC (rev 4692)
@@ -5,11 +5,9 @@
     <jndi-name>JbpmDS</jndi-name>
 
     <xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class>
-    <xa-datasource-property name="ServerName">@jdbc.postgresql.server@</xa-datasource-property>
-    <xa-datasource-property name="PortNumber">@jdbc.postgresql.port@</xa-datasource-property>
-    <xa-datasource-property name="DatabaseName">@jdbc.postgresql.database@</xa-datasource-property>
-    <user-name>@jdbc.postgresql.username@</user-name>
-    <password>@jdbc.postgresql.password@</password>
+    <xa-datasource-property name="URL">@jdbc.url@</xa-datasource-property>
+    <user-name>@jdbc.username@</user-name>
+    <password>@jdbc.password@</password>
 
     <!-- disable transaction interleaving -->
     <track-connection-by-tx />

Modified: jbpm4/trunk/modules/distro/src/main/files/jboss/datasources/jbpm-sybase-ds.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/jboss/datasources/jbpm-sybase-ds.xml	2009-05-01 14:59:52 UTC (rev 4691)
+++ jbpm4/trunk/modules/distro/src/main/files/jboss/datasources/jbpm-sybase-ds.xml	2009-05-02 08:22:17 UTC (rev 4692)
@@ -6,11 +6,9 @@
     <jndi-name>JbpmDS</jndi-name>
     
     <xa-datasource-class>@jdbc.sybase.datasource@</xa-datasource-class>
-    <xa-datasource-property name="ServerName">@jdbc.sybase.server@</xa-datasource-property>
-    <xa-datasource-property name="PortNumber">@jdbc.sybase.port@</xa-datasource-property>
-    <xa-datasource-property name="DatabaseName">@jdbc.sybase.database@</xa-datasource-property>
-    <user-name>@jdbc.sybase.username@</user-name>
-    <password>@jdbc.sybase.password@</password>
+    <xa-datasource-property name="URL">@jdbc.url@</xa-datasource-property>
+    <user-name>@jdbc.username@</user-name>
+    <password>@jdbc.password@</password>
 
     <!-- disable transaction interleaving -->
     <track-connection-by-tx />

Added: jbpm4/trunk/qa/hudson-jbpm4-base.sh
===================================================================
--- jbpm4/trunk/qa/hudson-jbpm4-base.sh	                        (rev 0)
+++ jbpm4/trunk/qa/hudson-jbpm4-base.sh	2009-05-02 08:22:17 UTC (rev 4692)
@@ -0,0 +1,5 @@
+#!/bin/sh
+#
+# runs the smoke test suite
+
+mvn -U clean install

Copied: jbpm4/trunk/qa/hudson-jbpm4-jboss.bat (from rev 4691, jbpm4/trunk/qa/jbpm4-jboss.bat)
===================================================================
--- jbpm4/trunk/qa/hudson-jbpm4-jboss.bat	                        (rev 0)
+++ jbpm4/trunk/qa/hudson-jbpm4-jboss.bat	2009-05-02 08:22:17 UTC (rev 4692)
@@ -0,0 +1,10 @@
+
+set MAVEN_OPTS=-Xms1024M -Xmx1024M
+
+cmd /C mvn -U -Pdistro -Pschemadocs clean install
+
+cmd /C ant -f qa/build.xml integration.testrun.setup
+
+cmd /C mvn -U -Djboss.bind.address=localhost test
+
+cmd /C ant -f qa/build.xml integration.testrun.teardown

Copied: jbpm4/trunk/qa/hudson-jbpm4-jboss.sh (from rev 4691, jbpm4/trunk/qa/jbpm4-jboss.sh)
===================================================================
--- jbpm4/trunk/qa/hudson-jbpm4-jboss.sh	                        (rev 0)
+++ jbpm4/trunk/qa/hudson-jbpm4-jboss.sh	2009-05-02 08:22:17 UTC (rev 4692)
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# runs the jboss integration test suite
+
+ANT_PROPERTIES="-Ddatabase=$DATABASE -Djboss.version=$JBOSS_VERSION -Djbpm.parent.dir=$WORKSPACE -Djboss.distro.dir=$SOURCE_REPO/jboss"
+
+echo ANT_PROPERTIES=${ANT_PROPERTIES}
+
+echo just in case the previous run didnt complete ok, we stop jboss
+ant -f modules/distro/src/main/files/jboss/build.xml $ANT_PROPERTIES stop.jboss
+
+mvn -U -Pdistro -Pschemadocs clean install
+
+ant -f qa/build.xml $ANT_PROPERTIES integration.testrun.setup
+
+mvn -U -Djboss.bind.address=localhost test
+
+ant -f qa/build.xml $ANT_PROPERTIES integration.testrun.teardown

Deleted: jbpm4/trunk/qa/jbpm4-jboss.bat
===================================================================
--- jbpm4/trunk/qa/jbpm4-jboss.bat	2009-05-01 14:59:52 UTC (rev 4691)
+++ jbpm4/trunk/qa/jbpm4-jboss.bat	2009-05-02 08:22:17 UTC (rev 4692)
@@ -1,10 +0,0 @@
-
-set MAVEN_OPTS=-Xms1024M -Xmx1024M
-
-cmd /C mvn -U -Pdistro -Pschemadocs clean install
-
-cmd /C ant -f qa/build.xml integration.testrun.setup
-
-cmd /C mvn -U -Djboss.bind.address=localhost test
-
-cmd /C ant -f qa/build.xml integration.testrun.teardown

Deleted: jbpm4/trunk/qa/jbpm4-jboss.sh
===================================================================
--- jbpm4/trunk/qa/jbpm4-jboss.sh	2009-05-01 14:59:52 UTC (rev 4691)
+++ jbpm4/trunk/qa/jbpm4-jboss.sh	2009-05-02 08:22:17 UTC (rev 4692)
@@ -1,18 +0,0 @@
-#!/bin/sh
-#
-# runs the jboss integration test suite
-
-ANT_PROPERTIES="-Ddatabase=$DATABASE -Djboss.version=$JBOSS_VERSION -Djbpm.parent.dir=$WORKSPACE -Djboss.distro.dir=$SOURCE_REPO/jboss"
-
-echo ANT_PROPERTIES=${ANT_PROPERTIES}
-
-echo just in case the previous run didnt complete ok, we stop jboss
-ant -f modules/distro/src/main/files/jboss/build.xml $ANT_PROPERTIES stop.jboss
-
-mvn -U -Pdistro -Pschemadocs clean install
-
-ant -f qa/build.xml $ANT_PROPERTIES integration.testrun.setup
-
-mvn -U -Djboss.bind.address=localhost test
-
-ant -f qa/build.xml $ANT_PROPERTIES integration.testrun.teardown




More information about the jbpm-commits mailing list