[jbpm-commits] JBoss JBPM SVN: r2605 - in jbpm3/branches/tdiesler: hudson/hudson-home and 3 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Oct 24 06:57:06 EDT 2008


Author: thomas.diesler at jboss.com
Date: 2008-10-24 06:57:06 -0400 (Fri, 24 Oct 2008)
New Revision: 2605

Modified:
   jbpm3/branches/tdiesler/hudson/hudson-home/command.sh
   jbpm3/branches/tdiesler/modules/core/pom.xml
   jbpm3/branches/tdiesler/modules/core/scripts/antrun-jbpm-config.xml
   jbpm3/branches/tdiesler/modules/core/src/main/resources/hibernate.properties.mysql.xml
   jbpm3/branches/tdiesler/modules/core/src/main/resources/hibernate.properties.postgresql.xml
   jbpm3/branches/tdiesler/modules/core/src/main/resources/hibernate.properties.sybase.xml
   jbpm3/branches/tdiesler/profiles.xml.example
Log:
WIP

Modified: jbpm3/branches/tdiesler/hudson/hudson-home/command.sh
===================================================================
--- jbpm3/branches/tdiesler/hudson/hudson-home/command.sh	2008-10-24 10:47:18 UTC (rev 2604)
+++ jbpm3/branches/tdiesler/hudson/hudson-home/command.sh	2008-10-24 10:57:06 UTC (rev 2605)
@@ -83,7 +83,7 @@
 #
 # execute tests
 #
-MVN_CMD="mvn -o $ENVIRONMENT -DtestFailureIgnore=true test"
+MVN_CMD="mvn -o -fae $ENVIRONMENT test"
 echo $MVN_CMD; $MVN_CMD 2>&1 | tee $WORKSPACE/tests.log
 cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u | tee $WORKSPACE/fixme.txt
 cat $WORKSPACE/fixme.txt | egrep "\[\S*]" > $WORKSPACE/errata-$CONTAINER.txt

Modified: jbpm3/branches/tdiesler/modules/core/pom.xml
===================================================================
--- jbpm3/branches/tdiesler/modules/core/pom.xml	2008-10-24 10:47:18 UTC (rev 2604)
+++ jbpm3/branches/tdiesler/modules/core/pom.xml	2008-10-24 10:57:06 UTC (rev 2605)
@@ -120,6 +120,12 @@
 
   <!-- Plugins -->
   <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+      </resource>
+    </resources>
     <plugins>
       <plugin>
         <artifactId>maven-assembly-plugin</artifactId>
@@ -159,7 +165,7 @@
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
-            <phase>generate-resources</phase>
+            <phase>compile</phase>
             <goals>
               <goal>run</goal>
             </goals>

Modified: jbpm3/branches/tdiesler/modules/core/scripts/antrun-jbpm-config.xml
===================================================================
--- jbpm3/branches/tdiesler/modules/core/scripts/antrun-jbpm-config.xml	2008-10-24 10:47:18 UTC (rev 2604)
+++ jbpm3/branches/tdiesler/modules/core/scripts/antrun-jbpm-config.xml	2008-10-24 10:57:06 UTC (rev 2605)
@@ -14,7 +14,7 @@
 <project default="concat">
 
   <property name="project.build.directory" value="${basedir}/target"/>
-  <property name="project.resources.directory" value="${basedir}/src/main/resources"/>
+  <property name="project.resources.directory" value="${basedir}/target/classes"/>
 
   <!--
     macrodef: macro-database-cfg

Modified: jbpm3/branches/tdiesler/modules/core/src/main/resources/hibernate.properties.mysql.xml
===================================================================
--- jbpm3/branches/tdiesler/modules/core/src/main/resources/hibernate.properties.mysql.xml	2008-10-24 10:47:18 UTC (rev 2604)
+++ jbpm3/branches/tdiesler/modules/core/src/main/resources/hibernate.properties.mysql.xml	2008-10-24 10:57:06 UTC (rev 2605)
@@ -4,8 +4,8 @@
 
     <!-- JDBC connection properties (begin) -->
     <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
-    <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/jbpmtest</property>
-    <property name="hibernate.connection.username">jbpmtest</property>
-    <property name="hibernate.connection.password"></property>
+    <property name="hibernate.connection.url">${jdbc.mysql.url}</property>
+    <property name="hibernate.connection.username">${jdbc.mysql.username}</property>
+    <property name="hibernate.connection.password">${jdbc.mysql.password}</property>
     <property name="hibernate.query.substitutions">true 1, false 0</property>
     <!-- JDBC connection properties (end) -->

Modified: jbpm3/branches/tdiesler/modules/core/src/main/resources/hibernate.properties.postgresql.xml
===================================================================
--- jbpm3/branches/tdiesler/modules/core/src/main/resources/hibernate.properties.postgresql.xml	2008-10-24 10:47:18 UTC (rev 2604)
+++ jbpm3/branches/tdiesler/modules/core/src/main/resources/hibernate.properties.postgresql.xml	2008-10-24 10:57:06 UTC (rev 2605)
@@ -4,7 +4,7 @@
 
     <!-- JDBC connection properties (begin) -->
     <property name="hibernate.connection.driver_class">org.postgresql.Driver</property>
-    <property name="hibernate.connection.url">jdbc:postgresql://localhost:5432/jbpmtest</property>
-    <property name="hibernate.connection.username">jbpmtest</property>
-    <property name="hibernate.connection.password"></property>
+    <property name="hibernate.connection.url">${jdbc.postgresql.url}</property>
+    <property name="hibernate.connection.username">${jdbc.postgresql.username}</property>
+    <property name="hibernate.connection.password">${jdbc.postgresql.password}</property>
     <!-- JDBC connection properties (end) -->

Modified: jbpm3/branches/tdiesler/modules/core/src/main/resources/hibernate.properties.sybase.xml
===================================================================
--- jbpm3/branches/tdiesler/modules/core/src/main/resources/hibernate.properties.sybase.xml	2008-10-24 10:47:18 UTC (rev 2604)
+++ jbpm3/branches/tdiesler/modules/core/src/main/resources/hibernate.properties.sybase.xml	2008-10-24 10:57:06 UTC (rev 2605)
@@ -11,8 +11,8 @@
 
     <!-- JDBC connection properties (begin) -->
     <property name="hibernate.connection.driver_class">net.sourceforge.jtds.jdbc.Driver</property>
-    <property name="hibernate.connection.url">jdbc:jtds:sybase://dev01.qa.atl.jboss.com:4100/jbpmteam</property>
-    <property name="hibernate.connection.username">jbpmteam</property>
-    <property name="hibernate.connection.password">jbpmteam</property>
+    <property name="hibernate.connection.url">${jdbc.sybase.url}</property>
+    <property name="hibernate.connection.username">${jdbc.sybase.username}</property>
+    <property name="hibernate.connection.password">${jdbc.sybase.password}</property>
     <!-- JDBC connection properties (end) -->
     

Modified: jbpm3/branches/tdiesler/profiles.xml.example
===================================================================
--- jbpm3/branches/tdiesler/profiles.xml.example	2008-10-24 10:47:18 UTC (rev 2604)
+++ jbpm3/branches/tdiesler/profiles.xml.example	2008-10-24 10:57:06 UTC (rev 2605)
@@ -16,6 +16,18 @@
         <jboss422.home>/home/tdiesler/svn/jbossas/tags/JBoss_4_2_2_GA/build/output/jboss-4.2.2.GA</jboss422.home>
         <jboss423.home>/home/tdiesler/svn/jbossas/tags/JBoss_4_2_3_GA/build/output/jboss-4.2.3.GA</jboss423.home>
         <jboss500.home>/home/tdiesler/svn/jbossas/tags/JBoss_5_0_0_CR2/build/output/jboss-5.0.0.CR2</jboss500.home>
+        
+        <jdbc.mysql.url>jdbc:mysql://localhost:3306/jbpmtest</jdbc.mysql.url>
+        <jdbc.mysql.username>jbpmtest</jdbc.mysql.username>
+        <jdbc.mysql.password></jdbc.mysql.password>
+        
+        <jdbc.postgresql.url>jdbc:postgresql://localhost:5432/jbpmtest</jdbc.postgresql.url>
+        <jdbc.postgresql.username>jbpmtest</jdbc.postgresql.username>
+        <jdbc.postgresql.password></jdbc.postgresql.password>
+        
+        <jdbc.sybase.url>jdbc:jtds:sybase://dev01.qa.atl.jboss.com:4100/jbpmteam</jdbc.sybase.url>
+        <jdbc.sybase.username>jbpmteam</jdbc.sybase.username>
+        <jdbc.sybase.password>jbpmteam</jdbc.sybase.password>
       </properties>
     </profile>
     




More information about the jbpm-commits mailing list