[jbpm-commits] JBoss JBPM SVN: r6645 - jbpm3/branches/jbpm-3.2-soa/modules/soa-distribution/post-patch.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Sep 2 06:48:31 EDT 2010


Author: ryanzhang
Date: 2010-09-02 06:48:30 -0400 (Thu, 02 Sep 2010)
New Revision: 6645

Added:
   jbpm3/branches/jbpm-3.2-soa/modules/soa-distribution/post-patch/overlay_jbpm_jpdl_jar.xml
Log:
Add overlay_jbpm_jpdl_jar.xml patches for soa-distribution

Added: jbpm3/branches/jbpm-3.2-soa/modules/soa-distribution/post-patch/overlay_jbpm_jpdl_jar.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/soa-distribution/post-patch/overlay_jbpm_jpdl_jar.xml	                        (rev 0)
+++ jbpm3/branches/jbpm-3.2-soa/modules/soa-distribution/post-patch/overlay_jbpm_jpdl_jar.xml	2010-09-02 10:48:30 UTC (rev 6645)
@@ -0,0 +1,18 @@
+<project name="Generate the customer jbpm.cfg.xml" default="apply.patch">
+    <!-- Generate the custom jbpm.cfg.xml for the SOA platform -->	
+    <property name="module_work_dir" value="${module_base_dir}/target/work" />
+    <property name="jbpm_config" value="${module_work_dir}/patch_jbpm_cfg/org/jbpm/default.jbpm.cfg.xml" />
+
+
+    <target name="apply.patch" >
+      <unjar src="${module_work_dir}/jbpm-installed/lib/jbpm-jpdl.jar" dest="${module_work_dir}/patch_jbpm_cfg/" overwrite="true"/>
+
+
+      <!--Disable the logging service-->
+      <replace file="${jbpm_config}" token='&lt;!-- Logging Service (begin) --&gt;' value='&lt;!-- Logging Service (begin) ==='  />
+      <replace file="${jbpm_config}" token='&lt;!-- Logging Service (end) --&gt;' value='==== Logging Service (end) --&gt;'  />
+
+      <delete file="${module_work_dir}/jbpm-installed/lib/jbpm-jpdl.jar" />
+      <jar destfile="${module_work_dir}/jbpm-installed/lib/jbpm-jpdl.jar" basedir="${module_work_dir}/patch_jbpm_cfg/" />
+  </target>
+</project>



More information about the jbpm-commits mailing list