[jboss-svn-commits] JBL Code SVN: r27946 - labs/jbosstm/trunk.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Jul 13 06:45:01 EDT 2009
Author: jhalliday
Date: 2009-07-13 06:45:01 -0400 (Mon, 13 Jul 2009)
New Revision: 27946
Modified:
labs/jbosstm/trunk/sharedbuild.xml
Log:
Fixed handling of defualt properties file. JBTM-438
Modified: labs/jbosstm/trunk/sharedbuild.xml
===================================================================
--- labs/jbosstm/trunk/sharedbuild.xml 2009-07-13 10:29:01 UTC (rev 27945)
+++ labs/jbosstm/trunk/sharedbuild.xml 2009-07-13 10:45:01 UTC (rev 27946)
@@ -261,10 +261,21 @@
<delete file="${build.dir}/lib/${modulename}.jar"/>
<touch file="${build.dir}/built_using_java_${java.specification.version}"/>
- <copy tofile="${build.dir}/default-jbossts-properties.xml">
- <fileset dir="" includes="jbossts-properties-*.xml"/>
- </copy>
+ <if>
+ <or>
+ <available file="jbossts-properties-arjuancore.xml"/>
+ <available file="jbossts-properties-arjunajta.xml"/>
+ <available file="jbossts-properties-arjunajts.xml"/>
+ </or>
+ <then>
+ <copy tofile="${build.dir}/default-jbossts-properties.xml">
+ <fileset dir="" includes="jbossts-properties-*.xml"/>
+ </copy>
+ </then>
+ </if>
+
+
<jar jarfile="${build.dir}/lib/${modulename}.jar">
<fileset dir="${build.dir}" includes="built_using*"/>
<fileset dir="${build.dir}" includes="default-jbossts-properties.xml"/>
More information about the jboss-svn-commits
mailing list