[jbpm-commits] JBoss JBPM SVN: r4023 - in jbpm4/trunk/modules/db: src/test/resources and 1 other directory.
do-not-reply at jboss.org
do-not-reply at jboss.org
Wed Feb 25 07:48:43 EST 2009
Author: heiko.braun at jboss.com
Date: 2009-02-25 07:48:43 -0500 (Wed, 25 Feb 2009)
New Revision: 4023
Modified:
jbpm4/trunk/modules/db/README.txt
jbpm4/trunk/modules/db/src/test/resources/antrun-create_drop.xml
Log:
Update docs on how the hypersonic DB is created
Modified: jbpm4/trunk/modules/db/README.txt
===================================================================
--- jbpm4/trunk/modules/db/README.txt 2009-02-25 11:28:31 UTC (rev 4022)
+++ jbpm4/trunk/modules/db/README.txt 2009-02-25 12:48:43 UTC (rev 4023)
@@ -19,3 +19,14 @@
- sybase
+FAQ
+---
+
+1.) How is the default hypersonic database created?
+
+The default hypersonic is created within the jpdl module, as part of the jpdl test execution.
+See the connetion URL 'jdbc:hsqldb:file:@project.build.directory@/hypersonic/jbpm4DB' whereas
+'project.build.directory' in that case is 'modules/jpdl/target'
+
+
+
Modified: jbpm4/trunk/modules/db/src/test/resources/antrun-create_drop.xml
===================================================================
--- jbpm4/trunk/modules/db/src/test/resources/antrun-create_drop.xml 2009-02-25 11:28:31 UTC (rev 4022)
+++ jbpm4/trunk/modules/db/src/test/resources/antrun-create_drop.xml 2009-02-25 12:48:43 UTC (rev 4023)
@@ -36,9 +36,9 @@
<!-- aggregate tasks -->
<target name="create-tables"
- depends="create-mysql,create-hsqldb,create-postgresql,create-sybase,create-oracle"/>
+ depends="create-mysql,create-postgresql,create-sybase,create-oracle"/>
<target name="drop-tables"
- depends="drop-mysql, drop-hsqldb,drop-postgresql,drop-sybase,drop-oracle"/>
+ depends="drop-mysql,drop-postgresql,drop-sybase,drop-oracle"/>
<!-- MySQL -->
@@ -60,25 +60,18 @@
pass="${jdbc.mysql.password}"/>
</target>
- <!-- hsqldb -->
- <target name="create-hsqldb" if="database.is.hsqldb">
- <execute-sql
- db="hsqldb" action="create"
- driver="org.hsqldb.jdbcDriver"
- url="${jdbc.hsql.url}"
- user="${jdbc.hsql.username}"
- pass="${jdbc.hsql.password}"/>
- </target>
+ <!--
+ hsqldb
- <target name="drop-hsqldb" if="database.is.hsqldb">
- <execute-sql
- db="hsqldb" action="drop"
- driver="org.hsqldb.jdbcDriver"
- url="${jdbc.hsql.url}"
- user="${jdbc.hsql.username}"
- pass="${jdbc.hsql.password}"/>
- </target>
+ HsqlDB is created as part of the modules/jpdl build.
+ It will create a hypersonic database in jpdl/target/hypersonic
+ that can be shipped with the distribution.
+ Doing an 'mvn clean' will 'drop' the db in that case.
+ -->
+
+
+
<!-- postgresql -->
<target name="create-postgresql" if="database.is.postgresql">
<execute-sql
More information about the jbpm-commits
mailing list