use >./ant and you will use the ofbiz version which is correct
or follow the direction in the error message for
>ant
PrateekJain sent the following on 8/30/2010 1:45 AM:
=========================
BJ Freeman <
http://bjfreeman.elance.com>
Strategic Power Office with Supplier Automation <
http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com <
http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist
Chat Y! messenger: bjfr33man
>
> whenever i try to ant clean-all or do run-install it shows error shown
>
> [root@hnode1 ofbiz-10-Aug-2010]# ant clean-all
> Buildfile: build.xml
>
> BUILD FAILED
> /home/Prateek/ofbiz-10-Aug-2010/build.xml:22: The following error occurred
> while executing this line:
> /home/Prateek/ofbiz-10-Aug-2010/macros.xml:24: Please upgrade ant to at
> least 1.7.1
>
> Total time: 0 seconds
>