[jbpm-commits] JBoss JBPM SVN: r5945 - jbpm4/trunk/modules/distro/src/main/files/install.
do-not-reply at jboss.org
do-not-reply at jboss.org
Fri Dec 11 04:04:40 EST 2009
Author: jbarrez
Date: 2009-12-11 04:04:40 -0500 (Fri, 11 Dec 2009)
New Revision: 5945
Modified:
jbpm4/trunk/modules/distro/src/main/files/install/build.xml
Log:
Added generation of applicationContext to the create.cfg target when executed with tx=spring/spring.testsuite
Modified: jbpm4/trunk/modules/distro/src/main/files/install/build.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/install/build.xml 2009-12-11 05:54:52 UTC (rev 5944)
+++ jbpm4/trunk/modules/distro/src/main/files/install/build.xml 2009-12-11 09:04:40 UTC (rev 5945)
@@ -186,7 +186,21 @@
<filter token="mail.smtp.host" value="${mail.smtp.host}" />
</filterset>
</copy>
+
+ <!-- If the target environment uses Spring, also copy the applicationContext.xml file-->
+ <condition property="is.spring.environment">
+ <or>
+ <equals arg1="${tx}" arg2="spring" />
+ <equals arg1="${tx}" arg2="spring.testsuite" />
+ </or>
+ </condition>
+ <antcall target="internal.copy.spring.applicationContext" />
+
</target>
+
+ <target name="internal.copy.spring.applicationContext" if="is.spring.environment">
+ <copy todir="${cfg.dest.dir}" overwrite="true" file="${install.src.dir}/cfg/spring/applicationContext.xml" />
+ </target>
<!-- ### CREATE USER WEBAPP ########################################## -->
<target name="create.user.webapp"
More information about the jbpm-commits
mailing list