[jbpm-commits] JBoss JBPM SVN: r1719 - jbpm4/pvm/trunk/modules/core.
do-not-reply at jboss.org
do-not-reply at jboss.org
Fri Jul 25 05:31:04 EDT 2008
Author: porcherg
Date: 2008-07-25 05:31:03 -0400 (Fri, 25 Jul 2008)
New Revision: 1719
Modified:
jbpm4/pvm/trunk/modules/core/pom.xml
Log:
rename db tables during compilation
Modified: jbpm4/pvm/trunk/modules/core/pom.xml
===================================================================
--- jbpm4/pvm/trunk/modules/core/pom.xml 2008-07-24 19:56:44 UTC (rev 1718)
+++ jbpm4/pvm/trunk/modules/core/pom.xml 2008-07-25 09:31:03 UTC (rev 1719)
@@ -29,6 +29,7 @@
<!-- Properties -->
<properties>
+ <table.prefix>JBPM_</table.prefix>
<surefire.gc.args>-XX:MaxPermSize=128m</surefire.gc.args>
<surefire.jdwp.args>-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005</surefire.jdwp.args>
<test.resources.directory>${project.build.directory}/test-resources</test.resources.directory>
@@ -196,6 +197,18 @@
</tasks>
</configuration>
</execution>
+ <execution>
+ <id>rename-tables</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <replace dir="target/classes" includes="**/hibernate.*.hbm.xml" token="table="JBPM_" value="table="${table.prefix}" />
+ </tasks>
+ </configuration>
+ </execution>
</executions>
</plugin>
</plugins>
More information about the jbpm-commits
mailing list