svn commit: r978957 - /ofbiz/trunk/macros.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r978957 - /ofbiz/trunk/macros.xml

doogie-3
Author: doogie
Date: Sun Jul 25 01:47:34 2010
New Revision: 978957

URL: http://svn.apache.org/viewvc?rev=978957&view=rev
Log:
Add an ant version check, to make certain at least 1.7.1 is being used.
This file gets included by all build.xml, so the version check will
happen whenever ant gets called.

Modified:
    ofbiz/trunk/macros.xml

Modified: ofbiz/trunk/macros.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/macros.xml?rev=978957&r1=978956&r2=978957&view=diff
==============================================================================
--- ofbiz/trunk/macros.xml (original)
+++ ofbiz/trunk/macros.xml Sun Jul 25 01:47:34 2010
@@ -18,6 +18,11 @@ specific language governing permissions
 under the License.
 -->
 <project name="Ant - Macros">
+ <condition property="antatleast171">
+  <antversion atleast="1.7.1"/>
+ </condition>
+ <fail unless="antatleast171" message="Please upgrade ant to at least 1.7.1"/>
+
  <dirname property="ofbiz.home.dir" file="${ant.file.Ant - Macros}"/>
  <macrodef name="iterate">
   <attribute name="filelist" default="subdirs"/>