[jboss-cvs] JBossAS SVN: r101343 - branches/JBPAPP_4_2_0_GA_CP/build.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Feb 23 16:40:25 EST 2010


Author: jbertram at redhat.com
Date: 2010-02-23 16:40:25 -0500 (Tue, 23 Feb 2010)
New Revision: 101343

Modified:
   branches/JBPAPP_4_2_0_GA_CP/build/build-distr.xml
Log:
JBPAPP-3794

Modified: branches/JBPAPP_4_2_0_GA_CP/build/build-distr.xml
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/build/build-distr.xml	2010-02-23 20:41:57 UTC (rev 101342)
+++ branches/JBPAPP_4_2_0_GA_CP/build/build-distr.xml	2010-02-23 21:40:25 UTC (rev 101343)
@@ -1211,14 +1211,8 @@
       </fileset>
     </copy>
     <copy todir="${install.all.conf}" filtering="no" file="${jboss.jbossts14.resources}/jbossjta-properties.xml"/>
-      <replaceregexp file="${install.all.conf}/jbossjta-properties.xml" flags="s">
-         <regexp pattern="(\x3cproperties depends=&#34;arjuna&#34; name=&#34;jta&#34;\x3e)"/>
-         <substitution expression="\1&#013;&#010;        &#60;property name=&#34;com.arjuna.ats.jta.recovery.XAResourceRecovery.JBMESSAGING1&#34;&#013;&#010;
-                 value=&#34;org.jboss.jms.server.recovery.MessagingXAResourceRecovery&#59;java:&#47;DefaultJMSProvider&#34;&#47;&#62;"/>
-      </replaceregexp>
+    <antcall target="_configure-recovery"/>
 
-      <fixcrlf srcdir="${install.all.conf}" includes="jbossjta-properties.xml" />
-
     <!-- Copy the generated client libraries -->
     <mkdir dir="${install.client}"/>
     <copy todir="${install.client}" filtering="no">
@@ -1228,6 +1222,16 @@
     </copy>
   </target>
 
+  <target name="_configure-recovery" if="build.soa.bits">
+      <replaceregexp file="${install.all.conf}/jbossjta-properties.xml" flags="s">
+         <regexp pattern="(\x3cproperties depends=&#34;arjuna&#34; name=&#34;jta&#34;\x3e)"/>
+         <substitution expression="\1&#013;&#010;        &#60;property name=&#34;com.arjuna.ats.jta.recovery.XAResourceRecovery.JBMESSAGING1&#34;&#013;&#010;
+                 value=&#34;org.jboss.jms.server.recovery.MessagingXAResourceRecovery&#59;java:&#47;DefaultJMSProvider&#34;&#47;&#62;"/>
+      </replaceregexp>
+
+      <fixcrlf srcdir="${install.all.conf}" includes="jbossjta-properties.xml" />
+  </target>
+
   <target name="_module-transaction-all" depends="_module-transaction-most">
     <!-- Copy the generated javadocs -->
     <mkdir dir="${install.api}/${_module.name}"/>




More information about the jboss-cvs-commits mailing list