You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by PrateekJain <pr...@lntinfotech.com> on 2010/08/30 10:45:20 UTC

whenever i am trying to build latest ofbiz code it throws an error

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

-- 
View this message in context: http://ofbiz.135035.n4.nabble.com/whenever-i-am-trying-to-build-latest-ofbiz-code-it-throws-an-error-tp2399750p2399750.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: whenever i am trying to build latest ofbiz code it throws an error

Posted by BJ Freeman <bj...@free-man.net>.
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
>

Re: whenever i am trying to build latest ofbiz code it throws an error

Posted by Divesh Dutta <di...@hotwaxmedia.com>.
Hello,

Your error itself tells the problem. You must upgrade Ant version to 1.7.1 or else use ./ant run-install

Thanks
--
Divesh Dutta


On Aug 30, 2010, at 2:15 PM, PrateekJain wrote:

> 
> 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
> 
> -- 
> View this message in context: http://ofbiz.135035.n4.nabble.com/whenever-i-am-trying-to-build-latest-ofbiz-code-it-throws-an-error-tp2399750p2399750.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.