CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - General Support
   ant installation error

 

  Bottom    Previous Topic    Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  regis012
      regis012
ant installation error
#8
Newbie
Joined: 2012/1/2
From
Posts: 1
Hi,
I installed the new ant version like that Quote:
cd /usr/src
wget http://archive.apache.org/dist/ant/binaries/apache-ant-1.8.2-bin.tar.bz2
tar jxvf apache-ant-1.8.2-bin.tar.bz2
mv apache-ant-1.8.2 /usr/local/ant


I tried to make a compilation
Quote:
Class org.apache.tools.ant.taskdefs.ConditionTask doesn't support the nested "antversion" element.


I enter the command :
Quote:
ant -v


Result
Quote:
Apache Ant version 1.6.5 compiled on January 6 2007


Why the ant version is 1.6.5 ??? I installed the 1.8.2 version ????

I didn't forget to change ANT_HOME like Quote:
export ANT_HOME=/usr/local/ant


Please, help me

Thank you in advance
Posted on: 2012/1/2 10:26
Create PDF from Post Print
Top
Subject Poster Date
     Re: ant installation error howieu 2012/1/6 21:01
       Re: ant installation error pschaff 2012/1/6 21:27
         Re: ant installation error anil 2013/2/21 6:33
           Re: ant installation error gerald_clark 2013/2/21 14:21
             Re: ant installation error anil 2013/2/28 9:39
               Re: ant installation error anil 2013/2/28 14:44
     Re: ant installation error pschaff 2012/1/2 21:51
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You cannot view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com