Author: jeff.yuchang
Date: 2009-11-20 11:15:03 -0500 (Fri, 20 Nov 2009)
New Revision: 295
Modified:
trunk/distribution/pom.xml
trunk/distribution/src/main/assembly/bin.xml
trunk/distribution/src/main/release/install/build.xml
Log:
* install the h2 db into server.lib.dir for hsql
Modified: trunk/distribution/pom.xml
===================================================================
--- trunk/distribution/pom.xml 2009-11-20 15:30:28 UTC (rev 294)
+++ trunk/distribution/pom.xml 2009-11-20 16:15:03 UTC (rev 295)
@@ -41,6 +41,7 @@
<postgresql.version>8.3-603.jdbc3</postgresql.version>
<jtds.version>1.2.2</jtds.version>
<derby.version>10.4.1.3</derby.version>
+ <h2.version>1.0.68</h2.version>
</properties>
<dependencies>
@@ -152,8 +153,12 @@
<artifactId>derbytools</artifactId>
<version>${derby.version}</version>
</dependency>
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <version>${h2.version}</version>
+ </dependency>
-
<!--
BPM Console
-->
Modified: trunk/distribution/src/main/assembly/bin.xml
===================================================================
--- trunk/distribution/src/main/assembly/bin.xml 2009-11-20 15:30:28 UTC (rev 294)
+++ trunk/distribution/src/main/assembly/bin.xml 2009-11-20 16:15:03 UTC (rev 295)
@@ -147,6 +147,7 @@
<include>mysql:mysql-connector-java</include>
<include>org.apache.derby:derby</include>
<include>org.apache.derby:derbytools</include>
+ <include>com.h2database:h2</include>
</includes>
</dependencySet>
Modified: trunk/distribution/src/main/release/install/build.xml
===================================================================
--- trunk/distribution/src/main/release/install/build.xml 2009-11-20 15:30:28 UTC (rev
294)
+++ trunk/distribution/src/main/release/install/build.xml 2009-11-20 16:15:03 UTC (rev
295)
@@ -133,7 +133,13 @@
<!-- install database specific driver -->
- <target name="internal.install.riftsaw.into.jboss.db.hsql" />
+ <target name="internal.install.riftsaw.into.jboss.db.hsql">
+ <copy todir="${server.lib.dir}">
+ <fileset dir="../db/drivers">
+ <include name="h2*.jar" />
+ </fileset>
+ </copy>
+ </target>
<target name="internal.install.riftsaw.into.jboss.db.derby">
<copy todir="${server.lib.dir}" overwrite="true">
@@ -175,7 +181,9 @@
</target>
<!-- uninstall database specific driver -->
- <target name="internal.uninstall.riftsaw.into.jboss.db.hsql" />
+ <target name="internal.uninstall.riftsaw.into.jboss.db.hsql">
+ <delete file="${server.lib.dir}/h2-1.0.68.jar" />
+ </target>
<target name="internal.uninstall.riftsaw.into.jboss.db.derby">
<delete file="${server.lib.dir}/derby-10.4.1.3.jar"/>