[jbpm-commits] JBoss JBPM SVN: r2992 - in jbpm3/trunk/modules: core/src/main/java/org/jbpm/ant and 3 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Nov 19 06:55:08 EST 2008


Author: thomas.diesler at jboss.com
Date: 2008-11-19 06:55:08 -0500 (Wed, 19 Nov 2008)
New Revision: 2992

Added:
   jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.db2.xml
   jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.derby.xml
   jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.firebird.xml
   jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.ingres.xml
   jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.interbase.xml
   jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.mckoi.xml
   jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.mssql.xml
   jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.oracle.xml
   jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.sapdb.xml
Removed:
   jbpm3/trunk/modules/db/src/main/resources/jbpm-config/
Modified:
   jbpm3/trunk/modules/core/scripts/antrun-jbpm-config.xml
   jbpm3/trunk/modules/core/src/main/java/org/jbpm/ant/JbpmSchemaTask.java
   jbpm3/trunk/modules/core/src/main/resources/hibernate.common.xml
   jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.hsqldb.xml
   jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.mysql.xml
   jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.sybase.xml
   jbpm3/trunk/modules/db/scripts/antrun-jbpmschema.xml
Log:
Add config generation for more dbs. Fix DDL script generation for MySQL

Modified: jbpm3/trunk/modules/core/scripts/antrun-jbpm-config.xml
===================================================================
--- jbpm3/trunk/modules/core/scripts/antrun-jbpm-config.xml	2008-11-19 11:03:30 UTC (rev 2991)
+++ jbpm3/trunk/modules/core/scripts/antrun-jbpm-config.xml	2008-11-19 11:55:08 UTC (rev 2992)
@@ -83,10 +83,21 @@
   </macrodef>
 
   <target name="concat" >
+    <macro-database-cfg database="db2" />
+    <macro-database-cfg database="derby" />
+    <macro-database-cfg database="firebird" />
     <macro-database-cfg database="hsqldb"/>
+    <macro-database-cfg database="ingres" />
+    <macro-database-cfg database="interbase" />
+    <macro-database-cfg database="mckoi" />
+    <macro-database-cfg database="mssql" />
     <macro-database-cfg database="mysql"/>
     <macro-database-cfg database="postgresql"/>
+    <macro-database-cfg database="sapdb" />
     <macro-database-cfg database="sybase"/>
+    <macro-database-cfg database="oracle" />
+    <macro-database-cfg database="postgresql" />
+    
     <echo message="Copy hibernate.cfg.${database}.xml to hibernate.cfg.xml" />
     <copy file="${project.build.directory}/classes/hibernate.cfg.${database}.xml" tofile="${project.build.directory}/classes/hibernate.cfg.xml"/>
   </target>

Modified: jbpm3/trunk/modules/core/src/main/java/org/jbpm/ant/JbpmSchemaTask.java
===================================================================
--- jbpm3/trunk/modules/core/src/main/java/org/jbpm/ant/JbpmSchemaTask.java	2008-11-19 11:03:30 UTC (rev 2991)
+++ jbpm3/trunk/modules/core/src/main/java/org/jbpm/ant/JbpmSchemaTask.java	2008-11-19 11:55:08 UTC (rev 2992)
@@ -21,147 +21,61 @@
  */
 package org.jbpm.ant;
 
-import java.net.URL;
 import java.util.StringTokenizer;
 
 import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.Task;
 import org.hibernate.cfg.Configuration;
 import org.hibernate.tool.hbm2ddl.SchemaExport;
-import org.jbpm.JbpmConfiguration;
-import org.jbpm.JbpmContext;
-import org.jbpm.db.JbpmSchema;
-import org.jbpm.persistence.db.DbPersistenceServiceFactory;
-import org.jbpm.svc.Services;
 
 public class JbpmSchemaTask extends Task
 {
-  String jbpmCfg;
   String hibernateCfg;
-  String hibernateProperties;
-
-  boolean quiet;
-  boolean text;
   String output;
   String delimiter;
+  String action;
 
-  String actions;
-
   public void execute() throws BuildException
   {
-    if (actions == null)
-    {
-      // default action is create
-      actions = "create";
-    }
+    if (action == null)
+      action = "create";
 
-    // we need a configuration
-    Configuration configuration = null;
+    if (hibernateCfg == null)
+      hibernateCfg = "hibernate.cfg.xml";
 
-    // if there is no jbpm nor hibernate configuration specified
-    if ((jbpmCfg == null) && (hibernateCfg == null))
-    {
-      // search for the default jbpm.cfg.xml
-      URL defaultJbpmCfgUrl = getClass().getClassLoader().getResource("jbpm.cfg.xml");
-      if (defaultJbpmCfgUrl != null)
-      {
-        jbpmCfg = "jbpm.cfg.xml";
-        // if still not found, search for the default hibernate.cfg.xml
-      }
-      else
-      {
-        URL defaultHibernateCfgUrl = getClass().getClassLoader().getResource("hibernate.cfg.xml");
-        if (defaultHibernateCfgUrl != null)
-        {
-          hibernateCfg = "hibernate.cfg.xml";
-        }
-      }
-    }
+    log("using hibernate configuration " + hibernateCfg);
+    Configuration configuration = AntHelper.getConfiguration(hibernateCfg, null);
 
-    // first see if the jbpm cfg is specified cause that implies a hibernate
-    // configuration
-    if (jbpmCfg != null)
-    {
-      log("using jbpm configuration " + jbpmCfg);
-      JbpmConfiguration jbpmConfiguration = AntHelper.getJbpmConfiguration(jbpmCfg);
-      JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
-      try
-      {
-        DbPersistenceServiceFactory dbPersistenceServiceFactory = (DbPersistenceServiceFactory)jbpmConfiguration
-            .getServiceFactory(Services.SERVICENAME_PERSISTENCE);
-        configuration = dbPersistenceServiceFactory.getConfiguration();
-      }
-      finally
-      {
-        jbpmContext.close();
-      }
-
-      // if there is no jbpm.cfg.xml specified, check if there is a
-      // hibernate.cfg.xml specified
-    }
-    else if (hibernateCfg != null)
-    {
-      log("using hibernate configuration " + hibernateCfg);
-      configuration = AntHelper.getConfiguration(hibernateCfg, hibernateProperties);
-
-      // no hibernate configuration specified
-    }
-    else
-    {
-      throw new BuildException("couldn't create schema.  no jbpm nor hibernate configuration specified.");
-    }
-
-    JbpmSchema jbpmSchema = new JbpmSchema(configuration);
-
     SchemaExport schemaExport = new SchemaExport(configuration);
+
     if (output != null)
-    {
       schemaExport.setOutputFile(output);
-    }
-    
+
     if (delimiter != null)
       schemaExport.setDelimiter(delimiter);
 
-    StringTokenizer tokenizer = new StringTokenizer(actions, ",");
-    while (tokenizer.hasMoreTokens())
-    {
-      String action = tokenizer.nextToken();
+    schemaExport.setFormat(false);
 
-      if ("drop".equalsIgnoreCase(action))
-      {
-        schemaExport.drop(!quiet, !text);
-      }
-      else if ("create".equalsIgnoreCase(action))
-      {
-        schemaExport.create(!quiet, !text);
-      }
-      else if ("clean".equalsIgnoreCase(action))
-      {
-        jbpmSchema.cleanSchema();
-      }
+    if ("drop".equalsIgnoreCase(action))
+    {
+      schemaExport.execute(false, false, true, false);
     }
+    else if ("create".equalsIgnoreCase(action))
+    {
+      schemaExport.execute(false, false, false, true);
+    }
   }
 
-  public void setActions(String actions)
+  public void setAction(String action)
   {
-    this.actions = actions;
+    this.action = action;
   }
 
-  public void setJbpmCfg(String jbpmCfg)
-  {
-    this.jbpmCfg = jbpmCfg;
-  }
-
   public void setHibernateCfg(String hibernateCfg)
   {
     this.hibernateCfg = hibernateCfg;
   }
 
-  public void setHibernateProperties(String hibernateProperties)
-  {
-    this.hibernateProperties = hibernateProperties;
-  }
-
   public void setDelimiter(String delimiter)
   {
     this.delimiter = delimiter;
@@ -171,14 +85,4 @@
   {
     this.output = output;
   }
-
-  public void setQuiet(boolean quiet)
-  {
-    this.quiet = quiet;
-  }
-
-  public void setText(boolean text)
-  {
-    this.text = text;
-  }
 }

Modified: jbpm3/trunk/modules/core/src/main/resources/hibernate.common.xml
===================================================================
--- jbpm3/trunk/modules/core/src/main/resources/hibernate.common.xml	2008-11-19 11:03:30 UTC (rev 2991)
+++ jbpm3/trunk/modules/core/src/main/resources/hibernate.common.xml	2008-11-19 11:55:08 UTC (rev 2992)
@@ -17,10 +17,6 @@
     <!-- # common settings                 # -->
     <!-- ################################### -->
 
-    <!-- Automatic schema creation (begin) -->
-    <property name="hibernate.hbm2ddl.auto">create</property>
-    <!-- Automatic schema creation (end) -->
-
     <!-- Simple memory-only cache -->
     <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
 

Added: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.db2.xml
===================================================================
--- jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.db2.xml	                        (rev 0)
+++ jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.db2.xml	2008-11-19 11:55:08 UTC (rev 2992)
@@ -0,0 +1,12 @@
+
+    <!-- hibernate dialect -->
+    <property name="hibernate.dialect">org.hibernate.dialect.DB2Dialect</property>
+
+    <!-- JDBC connection properties (begin) -->
+    <!-- fetch driver from http://www-128.ibm.com/developerworks/db2/downloads/jcc -->
+    <property name="hibernate.connection.driver_class">com.ibm.db2.jcc.DB2Driver</property>
+    <property name="hibernate.connection.url">jdbc:db2://localhost:50000/testing</property>
+    <property name="hibernate.connection.username"></property>
+    <property name="hibernate.connection.password"></property>
+    <!-- JDBC connection properties (end) -->
+


Property changes on: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.db2.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.derby.xml
===================================================================
--- jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.derby.xml	                        (rev 0)
+++ jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.derby.xml	2008-11-19 11:55:08 UTC (rev 2992)
@@ -0,0 +1,12 @@
+
+    <!-- hibernate dialect -->
+    <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
+
+    <!-- JDBC connection properties (begin) -->
+    <!-- fetch driver from http://db.apache.org/derby -->
+    <property name="hibernate.connection.driver_class">org.apache.derby.jdbc.EmbeddedDriver</property>
+    <property name="hibernate.connection.url">jdbc:derby:build/derby/jbpmtest;create=true</property>
+    <property name="hibernate.connection.username"></property>
+    <property name="hibernate.connection.password"></property>
+    <!-- JDBC connection properties (end) -->
+


Property changes on: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.derby.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.firebird.xml
===================================================================
--- jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.firebird.xml	                        (rev 0)
+++ jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.firebird.xml	2008-11-19 11:55:08 UTC (rev 2992)
@@ -0,0 +1,12 @@
+
+    <!-- hibernate dialect -->
+    <property name="hibernate.dialect">org.hibernate.dialect.FirebirdDialect</property>
+
+    <!-- JDBC connection properties (begin) -->
+    <!-- fetch driver from http://firebird.sourceforge.net/ -->
+    <property name="hibernate.connection.driver_class">org.firebirdsql.jdbc.FBDriver</property>
+    <property name="hibernate.connection.url">jdbc:firebirdsql:localhost:jbpmtest</property>
+    <property name="hibernate.connection.username"></property>
+    <property name="hibernate.connection.password"></property>
+    <!-- JDBC connection properties (end) -->
+


Property changes on: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.firebird.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Modified: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.hsqldb.xml
===================================================================
--- jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.hsqldb.xml	2008-11-19 11:03:30 UTC (rev 2991)
+++ jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.hsqldb.xml	2008-11-19 11:55:08 UTC (rev 2992)
@@ -9,3 +9,6 @@
     <property name="hibernate.connection.password"></property>
     <!-- JDBC connection properties (end) -->
 
+    <!-- Automatic schema creation (begin) -->
+    <property name="hibernate.hbm2ddl.auto">create</property>
+    <!-- Automatic schema creation (end) -->

Added: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.ingres.xml
===================================================================
--- jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.ingres.xml	                        (rev 0)
+++ jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.ingres.xml	2008-11-19 11:55:08 UTC (rev 2992)
@@ -0,0 +1,12 @@
+
+    <!-- hibernate dialect -->
+    <property name="hibernate.dialect">org.hibernate.dialect.IngresDialect</property>
+
+    <!-- JDBC connection properties (begin) -->
+    <!-- fetch driver from http://google.com -->
+    <property name="hibernate.connection.driver_class"></property>
+    <property name="hibernate.connection.url"></property>
+    <property name="hibernate.connection.username"></property>
+    <property name="hibernate.connection.password"></property>
+    <!-- JDBC connection properties (end) -->
+


Property changes on: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.ingres.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.interbase.xml
===================================================================
--- jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.interbase.xml	                        (rev 0)
+++ jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.interbase.xml	2008-11-19 11:55:08 UTC (rev 2992)
@@ -0,0 +1,12 @@
+
+    <!-- hibernate dialect -->
+    <property name="hibernate.dialect">org.hibernate.dialect.InterbaseDialect</property>
+
+    <!-- JDBC connection properties (begin) -->
+    <!-- fetch driver from http://google.com -->
+    <property name="hibernate.connection.driver_class"></property>
+    <property name="hibernate.connection.url"></property>
+    <property name="hibernate.connection.username"></property>
+    <property name="hibernate.connection.password"></property>
+    <!-- JDBC connection properties (end) -->
+


Property changes on: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.interbase.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.mckoi.xml
===================================================================
--- jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.mckoi.xml	                        (rev 0)
+++ jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.mckoi.xml	2008-11-19 11:55:08 UTC (rev 2992)
@@ -0,0 +1,12 @@
+
+    <!-- hibernate dialect -->
+    <property name="hibernate.dialect">org.hibernate.dialect.MckoiDialect</property>
+
+    <!-- JDBC connection properties (begin) -->
+    <!-- fetch driver from http://google.com -->
+    <property name="hibernate.connection.driver_class"></property>
+    <property name="hibernate.connection.url"></property>
+    <property name="hibernate.connection.username"></property>
+    <property name="hibernate.connection.password"></property>
+    <!-- JDBC connection properties (end) -->
+


Property changes on: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.mckoi.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.mssql.xml
===================================================================
--- jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.mssql.xml	                        (rev 0)
+++ jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.mssql.xml	2008-11-19 11:55:08 UTC (rev 2992)
@@ -0,0 +1,12 @@
+
+    <!-- hibernate dialect -->
+    <property name="hibernate.dialect">org.hibernate.dialect.SQLServerDialect</property>
+
+    <!-- JDBC connection properties (begin) -->
+    <!-- fetch driver from http://msdn.microsoft.com/data/jdbc -->
+    <property name="hibernate.connection.driver_class">net.sourceforge.jtds.jdbc.Driver</property>
+    <property name="hibernate.connection.url">jdbc:jtds:sqlserver://localhost:1433/jbpmtest</property>
+    <property name="hibernate.connection.username"></property>
+    <property name="hibernate.connection.password"></property>
+    <!-- JDBC connection properties (end) -->
+


Property changes on: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.mssql.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Modified: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.mysql.xml
===================================================================
--- jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.mysql.xml	2008-11-19 11:03:30 UTC (rev 2991)
+++ jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.mysql.xml	2008-11-19 11:55:08 UTC (rev 2992)
@@ -10,3 +10,7 @@
     <property name="hibernate.query.substitutions">true 1, false 0</property>
     <!-- JDBC connection properties (end) -->
 
+    <!-- Automatic schema creation (begin) -->
+    <property name="hibernate.hbm2ddl.auto">validate</property>
+    <!-- Automatic schema creation (end) -->
+

Added: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.oracle.xml
===================================================================
--- jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.oracle.xml	                        (rev 0)
+++ jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.oracle.xml	2008-11-19 11:55:08 UTC (rev 2992)
@@ -0,0 +1,12 @@
+
+    <!-- hibernate dialect -->
+    <property name="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</property>
+
+    <!-- JDBC connection properties (begin) -->
+    <!-- fetch driver from http://www.oracle.com -->
+    <property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
+    <property name="hibernate.connection.url"></property>
+    <property name="hibernate.connection.username"></property>
+    <property name="hibernate.connection.password"></property>
+    <!-- JDBC connection properties (end) -->
+


Property changes on: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.oracle.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.sapdb.xml
===================================================================
--- jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.sapdb.xml	                        (rev 0)
+++ jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.sapdb.xml	2008-11-19 11:55:08 UTC (rev 2992)
@@ -0,0 +1,12 @@
+
+    <!-- hibernate dialect -->
+    <property name="hibernate.dialect">org.hibernate.dialect.SAPDBDialect</property>
+
+    <!-- JDBC connection properties (begin) -->
+    <!-- fetch driver from http://google.com -->
+    <property name="hibernate.connection.driver_class"></property>
+    <property name="hibernate.connection.url"></property>
+    <property name="hibernate.connection.username"></property>
+    <property name="hibernate.connection.password"></property>
+    <!-- JDBC connection properties (end) -->
+


Property changes on: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.sapdb.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Modified: jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.sybase.xml
===================================================================
--- jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.sybase.xml	2008-11-19 11:03:30 UTC (rev 2991)
+++ jbpm3/trunk/modules/core/src/main/resources/hibernate.properties.sybase.xml	2008-11-19 11:55:08 UTC (rev 2992)
@@ -19,3 +19,6 @@
     <property name="hibernate.connection.password">${jdbc.sybase.password}</property>
     <!-- JDBC connection properties (end) -->
 
+    <!-- Automatic schema creation (begin) -->
+    <property name="hibernate.hbm2ddl.auto">validate</property>
+    <!-- Automatic schema creation (end) -->

Modified: jbpm3/trunk/modules/db/scripts/antrun-jbpmschema.xml
===================================================================
--- jbpm3/trunk/modules/db/scripts/antrun-jbpmschema.xml	2008-11-19 11:03:30 UTC (rev 2991)
+++ jbpm3/trunk/modules/db/scripts/antrun-jbpmschema.xml	2008-11-19 11:55:08 UTC (rev 2992)
@@ -25,24 +25,24 @@
     <property name="scriptsdir" value="${basedir}/target/classes" />
     <mkdir dir="${scriptsdir}" />
 
-    <jbpmschema output="${scriptsdir}/jbpm.jpdl.db2.sql" jbpmCfg="jbpm-config/db2.jbpm.cfg.xml" actions="create" text="true" quiet="true" />
-    <jbpmschema output="${scriptsdir}/jbpm.jpdl.derby.sql" jbpmCfg="jbpm-config/derby.jbpm.cfg.xml" actions="create" text="true" quiet="true" />
-    <jbpmschema output="${scriptsdir}/jbpm.jpdl.firebird.sql" jbpmCfg="jbpm-config/firebird.jbpm.cfg.xml" actions="create" text="true" quiet="true" />
-    <jbpmschema output="${scriptsdir}/jbpm.jpdl.hsqldb.sql" hibernateCfg="hibernate.cfg.hsqldb.xml" jbpmCfg="jbpm-config/hsqldb.jbpm.cfg.xml" actions="create" text="true" quiet="true" />
-    <jbpmschema output="${scriptsdir}/jbpm.jpdl.ingres.sql" jbpmCfg="jbpm-config/ingres.jbpm.cfg.xml" actions="create" text="true" quiet="true" />
-    <jbpmschema output="${scriptsdir}/jbpm.jpdl.interbase.sql" jbpmCfg="jbpm-config/interbase.jbpm.cfg.xml" actions="create" text="true" quiet="true" />
-    <jbpmschema output="${scriptsdir}/jbpm.jpdl.mckoi.sql" jbpmCfg="jbpm-config/mckoi.jbpm.cfg.xml" actions="create" text="true" quiet="true" />
-    <jbpmschema output="${scriptsdir}/jbpm.jpdl.mssql.sql" jbpmCfg="jbpm-config/mssql.jbpm.cfg.xml" actions="create" text="true" quiet="true" />
-    <jbpmschema output="${scriptsdir}/jbpm.jpdl.mysql.sql" hibernateCfg="hibernate.cfg.mysql.xml" jbpmCfg="jbpm-config/mysql.jbpm.cfg.xml" actions="create" text="true" quiet="true" />
-    <jbpmschema output="${scriptsdir}/jbpm.jpdl.oracle.sql" jbpmCfg="jbpm-config/oracle.jbpm.cfg.xml" delimiter=";" actions="create" text="true" quiet="true" />
-    <jbpmschema output="${scriptsdir}/jbpm.jpdl.postgresql.sql" hibernateCfg="hibernate.cfg.postgresql.xml" jbpmCfg="jbpm-config/postgresql.jbpm.cfg.xml" actions="create" text="true" quiet="true" />
-    <jbpmschema output="${scriptsdir}/jbpm.jpdl.sapdb.sql" jbpmCfg="jbpm-config/sapdb.jbpm.cfg.xml" actions="create" text="true" quiet="true" />
-    <jbpmschema output="${scriptsdir}/jbpm.jpdl.sybase.sql" hibernateCfg="hibernate.cfg.sybase.xml" jbpmCfg="jbpm-config/sybase.jbpm.cfg.xml" actions="create" text="true" quiet="true" />
+    <jbpmschema output="${scriptsdir}/jbpm.jpdl.db2.sql" hibernateCfg="hibernate.cfg.db2.xml" action="create" />
+    <jbpmschema output="${scriptsdir}/jbpm.jpdl.derby.sql" hibernateCfg="hibernate.cfg.derby.xml" action="create" />
+    <jbpmschema output="${scriptsdir}/jbpm.jpdl.firebird.sql" hibernateCfg="hibernate.cfg.firebird.xml" action="create" />
+    <jbpmschema output="${scriptsdir}/jbpm.jpdl.hsqldb.sql" hibernateCfg="hibernate.cfg.hsqldb.xml" action="create" />
+    <jbpmschema output="${scriptsdir}/jbpm.jpdl.ingres.sql" hibernateCfg="hibernate.cfg.ingres.xml" action="create" />
+    <jbpmschema output="${scriptsdir}/jbpm.jpdl.interbase.sql" hibernateCfg="hibernate.cfg.interbase.xml" action="create" />
+    <jbpmschema output="${scriptsdir}/jbpm.jpdl.mckoi.sql" hibernateCfg="hibernate.cfg.mckoi.xml" action="create" />
+    <jbpmschema output="${scriptsdir}/jbpm.jpdl.mssql.sql" hibernateCfg="hibernate.cfg.mssql.xml" action="create" />
+    <jbpmschema output="${scriptsdir}/jbpm.jpdl.mysql.sql" hibernateCfg="hibernate.cfg.mysql.xml" action="create" delimiter=";"/>
+    <jbpmschema output="${scriptsdir}/jbpm.jpdl.oracle.sql" hibernateCfg="hibernate.cfg.oracle.xml" delimiter=";" action="create" />
+    <jbpmschema output="${scriptsdir}/jbpm.jpdl.postgresql.sql" hibernateCfg="hibernate.cfg.postgresql.xml" action="create" />
+    <jbpmschema output="${scriptsdir}/jbpm.jpdl.sapdb.sql" hibernateCfg="hibernate.cfg.sapdb.xml" action="create" />
+    <jbpmschema output="${scriptsdir}/jbpm.jpdl.sybase.sql" hibernateCfg="hibernate.cfg.sybase.xml" action="create" />
   	
   	<!--[JBPM-1813] Fix create schema generation -->
-    <!--jbpmschema output="${scriptsdir}/jbpm.jpdl.informix.sql" jbpmCfg="jbpm-config/informix.jbpm.cfg.xml" actions="create" text="true" quiet="true"/-->
-    <!--jbpmschema output="${scriptsdir}/jbpm.jpdl.pointbase.sql" jbpmCfg="jbpm-config/pointbase.jbpm.cfg.xml" actions="create" text="true" quiet="true"/-->
-    <!--jbpmschema output="${scriptsdir}/jbpm.jpdl.progress.sql" jbpmCfg="jbpm-config/progress.jbpm.cfg.xml" actions="create" text="true" quiet="true"/-->
+    <!--jbpmschema output="${scriptsdir}/jbpm.jpdl.informix.sql" hibernateCfg="hibernate.cfg.informix.xml" action="create"/-->
+    <!--jbpmschema output="${scriptsdir}/jbpm.jpdl.pointbase.sql" hibernateCfg="hibernate.cfg.pointbase.xml" action="create"/-->
+    <!--jbpmschema output="${scriptsdir}/jbpm.jpdl.progress.sql" hibernateCfg="hibernate.cfg.progress.xml" action="create"/-->
   	
   </target>
 




More information about the jbpm-commits mailing list