[jbpm-commits] JBoss JBPM SVN: r3938 - in jbpm4/trunk/modules: enterprise and 5 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Feb 19 04:04:33 EST 2009


Author: heiko.braun at jboss.com
Date: 2009-02-19 04:04:33 -0500 (Thu, 19 Feb 2009)
New Revision: 3938

Added:
   jbpm4/trunk/modules/examples/scripts/
   jbpm4/trunk/modules/examples/scripts/assembly-config.xml
Modified:
   jbpm4/trunk/modules/db/jbpm4-db.iml
   jbpm4/trunk/modules/enterprise/jbpm4-enterprise.iml
   jbpm4/trunk/modules/examples/jbpm4-examples.iml
   jbpm4/trunk/modules/examples/pom.xml
   jbpm4/trunk/modules/jpdl/scripts/assembly-config.xml
   jbpm4/trunk/modules/jpdl/src/main/resources/hibernate.properties.hsqldb.xml
   jbpm4/trunk/modules/test-db/jbpm4-test-db.iml
Log:
Create and populate example database (hsql) and sjip it as part of the example configuration

Modified: jbpm4/trunk/modules/db/jbpm4-db.iml
===================================================================
--- jbpm4/trunk/modules/db/jbpm4-db.iml	2009-02-19 09:03:15 UTC (rev 3937)
+++ jbpm4/trunk/modules/db/jbpm4-db.iml	2009-02-19 09:04:33 UTC (rev 3938)
@@ -11,6 +11,7 @@
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="module" module-name="toplevel" />
     <orderEntry type="module" module-name="jpdl" />
+    <orderEntry type="module" module-name="pvm" />
     <orderEntry type="module-library" exported="">
       <library name="M2 Dep: javax.transaction:jta:jar:1.0.1B:compile">
         <CLASSES>

Modified: jbpm4/trunk/modules/enterprise/jbpm4-enterprise.iml
===================================================================
--- jbpm4/trunk/modules/enterprise/jbpm4-enterprise.iml	2009-02-19 09:03:15 UTC (rev 3937)
+++ jbpm4/trunk/modules/enterprise/jbpm4-enterprise.iml	2009-02-19 09:04:33 UTC (rev 3938)
@@ -11,9 +11,9 @@
     </content>
     <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="module" module-name="gwt-rpc" exported="" />
-    <orderEntry type="module" module-name="toplevel" />
-    <orderEntry type="module" module-name="gwt-parent" />
+    <orderEntry type="module" module-name="toplevel" exported="" />
+    <orderEntry type="module" module-name="pvm" exported="" />
+    <orderEntry type="module" module-name="gwt-parent" exported="" />
     <orderEntry type="module-library" exported="">
       <library name="M2 Dep: cargo:cargo:jar:0.5:test">
         <CLASSES>

Modified: jbpm4/trunk/modules/examples/jbpm4-examples.iml
===================================================================
--- jbpm4/trunk/modules/examples/jbpm4-examples.iml	2009-02-19 09:03:15 UTC (rev 3937)
+++ jbpm4/trunk/modules/examples/jbpm4-examples.iml	2009-02-19 09:04:33 UTC (rev 3938)
@@ -11,6 +11,7 @@
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="module" module-name="toplevel" />
     <orderEntry type="module" module-name="jpdl" />
+    <orderEntry type="module" module-name="pvm" />
     <orderEntry type="module-library">
       <library name="M2 Dep: javax.transaction:jta:jar:1.0.1B:compile">
         <CLASSES>

Modified: jbpm4/trunk/modules/examples/pom.xml
===================================================================
--- jbpm4/trunk/modules/examples/pom.xml	2009-02-19 09:03:15 UTC (rev 3937)
+++ jbpm4/trunk/modules/examples/pom.xml	2009-02-19 09:04:33 UTC (rev 3938)
@@ -97,6 +97,25 @@
           </execution>
         </executions>
       </plugin>
+
+       <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <finalName>${project.build.finalName}</finalName>
+              <appendAssemblyId>true</appendAssemblyId>
+              <descriptors>
+                <descriptor>scripts/assembly-config.xml</descriptor>
+              </descriptors>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 </project>
\ No newline at end of file

Added: jbpm4/trunk/modules/examples/scripts/assembly-config.xml
===================================================================
--- jbpm4/trunk/modules/examples/scripts/assembly-config.xml	                        (rev 0)
+++ jbpm4/trunk/modules/examples/scripts/assembly-config.xml	2009-02-19 09:04:33 UTC (rev 3938)
@@ -0,0 +1,19 @@
+<assembly 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/xsd/assembly-1.1.0-SNAPSHOT.xsd">
+  <id>config</id>
+  <formats>
+    <format>jar</format>
+  </formats>
+  <includeBaseDirectory>false</includeBaseDirectory>
+  <fileSets>
+    <fileSet>
+      <directory>../jpdl/target/</directory>
+      <outputDirectory>/</outputDirectory>
+      <includes>
+        <include>hypersonic/jbpm4DB.log</include>
+        <include>hypersonic/jbpm4DB.properties</include>
+        <include>hypersonic/jbpm4DB.script</include>
+      </includes>
+    </fileSet>
+  </fileSets>
+w</assembly>
\ No newline at end of file

Modified: jbpm4/trunk/modules/jpdl/scripts/assembly-config.xml
===================================================================
--- jbpm4/trunk/modules/jpdl/scripts/assembly-config.xml	2009-02-19 09:03:15 UTC (rev 3937)
+++ jbpm4/trunk/modules/jpdl/scripts/assembly-config.xml	2009-02-19 09:04:33 UTC (rev 3938)
@@ -16,6 +16,6 @@
         <include>hibernate.cfg.*.xml</include>
         <include>jbpm-*-ds.xml</include>
       </includes>
-    </fileSet>
+    </fileSet>  
   </fileSets>
 </assembly>
\ No newline at end of file

Modified: jbpm4/trunk/modules/jpdl/src/main/resources/hibernate.properties.hsqldb.xml
===================================================================
--- jbpm4/trunk/modules/jpdl/src/main/resources/hibernate.properties.hsqldb.xml	2009-02-19 09:03:15 UTC (rev 3937)
+++ jbpm4/trunk/modules/jpdl/src/main/resources/hibernate.properties.hsqldb.xml	2009-02-19 09:04:33 UTC (rev 3938)
@@ -4,12 +4,12 @@
 
     <!-- JDBC connection properties (begin) -->
     <property name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>    
-    <property name="hibernate.connection.url">${jdbc.hsql.url}</property>
+    <property name="hibernate.connection.url">jdbc:hsqldb:file:${project.build.directory}/hypersonic/jbpm4DB</property>
     <property name="hibernate.connection.username">${jdbc.hsql.username}</property>
     <property name="hibernate.connection.password">${jdbc.hsql.password}</property>
     <!-- JDBC connection properties (end) -->
 
     <!-- Automatic schema creation (begin) -->
-    <property name="hibernate.hbm2ddl.auto">create-drop</property>
+    <property name="hibernate.hbm2ddl.auto">create</property>
     <!-- Automatic schema creation (end) -->
 

Modified: jbpm4/trunk/modules/test-db/jbpm4-test-db.iml
===================================================================
--- jbpm4/trunk/modules/test-db/jbpm4-test-db.iml	2009-02-19 09:03:15 UTC (rev 3937)
+++ jbpm4/trunk/modules/test-db/jbpm4-test-db.iml	2009-02-19 09:04:33 UTC (rev 3938)
@@ -16,6 +16,7 @@
     <orderEntry type="module" module-name="jbpm4-toplevel" exported="" />
     <orderEntry type="module" module-name="toplevel" exported="" />
     <orderEntry type="module" module-name="jpdl" exported="" />
+    <orderEntry type="module" module-name="pvm" exported="" />
     <orderEntry type="module-library" exported="">
       <library name="M2 Dep: javax.transaction:jta:jar:1.0.1B:compile">
         <CLASSES>




More information about the jbpm-commits mailing list