[seam-commits] Seam SVN: r9662 - trunk.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Nov 26 11:27:07 EST 2008
Author: dan.j.allen
Date: 2008-11-26 11:27:07 -0500 (Wed, 26 Nov 2008)
New Revision: 9662
Modified:
trunk/build.xml
Log:
JBSEAM-3386 - require Ant 1.7.0 to build Seam
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2008-11-26 10:24:31 UTC (rev 9661)
+++ trunk/build.xml 2008-11-26 16:27:07 UTC (rev 9662)
@@ -1,6 +1,13 @@
<?xml version="1.0"?>
<project name="Seam" default="build" basedir="." xmlns:artifact="urn:maven-artifact-ant">
+ <!-- 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"/>
+ </condition>
+
+ <fail unless="compatible.ant">You must use Ant 1.7.0 to build Seam. Ant 1.7.1 has known bugs.</fail>
+
<!-- Name of project and version, used to create filenames -->
<property name="Name" value="JBoss Seam" />
<property name="name" value="jboss-seam" />
More information about the seam-commits
mailing list