ant installation

Greetings, I'm trying to install ant to build an hadoop plugin.

When I run ant, it fails:
BUILD FAILED
/var/tmp/hadoop-2.0.0-cdh4.0.1/src/hadoop-mapreduce-project/build.xml:1779: Class org.apache.tools.ant.taskdefs.ConditionTask doesn't support the nested "typefound" element.

I'm told this is an ant thing.  Not a Hadoop thing.
I have CENTOS 6.

In JIRA, there's a command to execute:
sudo ANT_HOME=$ANT_HOME make install

but that errors out too:
make: *** No rule to make target `install'.  Stop.


Does anyone have any experience with ant? and can tell me what to do to allow for this infamous nested "typefound" element?

Thanks
LVL 9
Evan CutlerVolunteer Chief Information OfficerAsked:
Who is Participating?
 
CEHJCommented:
Check you have a high enough version of Ant or patch it. See https://issues.apache.org/jira/browse/THRIFT-731
0
 
Sharon SethCommented:
typefound is available starting from Ant 1.7
0
 
Evan CutlerVolunteer Chief Information OfficerAuthor Commented:
I was using tree standard yum command. Apparently the default repository only had1.6.Doeither of you have a better one?
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

 
CEHJCommented:
Patch it
0
 
Evan CutlerVolunteer Chief Information OfficerAuthor Commented:
Thanks much.
0
 
CEHJCommented:
:)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.