Author: manaRH
Date: 2010-02-12 06:46:06 -0500 (Fri, 12 Feb 2010)
New Revision: 12043
Modified:
branches/community/Seam_2_2/build.xml
Log:
updated condition for ant version
Modified: branches/community/Seam_2_2/build.xml
===================================================================
--- branches/community/Seam_2_2/build.xml 2010-02-12 09:30:42 UTC (rev 12042)
+++ branches/community/Seam_2_2/build.xml 2010-02-12 11:46:06 UTC (rev 12043)
@@ -3,7 +3,11 @@
<!-- Check that we are using Ant 1.7.0. Not using <antversion> as it wasn't
available until 1.7.0. -->
<condition property="compatible.ant">
- <contains string="${ant.version}" substring="1.7.0"/>
+ <or>
+ <contains string="${ant.version}" substring="1.7.0"/>
+ <contains string="${ant.version}" substring="1.8.0"/>
+ </or>
+
</condition>
<fail unless="compatible.ant">You are using ${ant.version}. You must use
Ant 1.7.0 to build Seam. Ant 1.7.1 has known bugs.</fail>