ant installation

Posted on 2012-09-11
Last Modified: 2012-09-12
Greetings, I'm trying to install ant to build an hadoop plugin.

When I run ant, it fails:
/var/tmp/hadoop-2.0.0-cdh4.0.1/src/hadoop-mapreduce-project/build.xml:1779: Class 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?

Question by:Evan Cutler
    LVL 86

    Accepted Solution

    Check you have a high enough version of Ant or patch it. See
    LVL 12

    Expert Comment

    by:Sharon Seth
    typefound is available starting from Ant 1.7
    LVL 9

    Author Comment

    by:Evan Cutler
    I was using tree standard yum command. Apparently the default repository only had1.6.Doeither of you have a better one?
    LVL 86

    Expert Comment

    Patch it
    LVL 9

    Author Closing Comment

    by:Evan Cutler
    Thanks much.
    LVL 86

    Expert Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    Accessibility and Usability are two concepts that seem to be closely related.  But, too many people seem to have a distorted perception of them. During last five years, those two words have come to the day-to-day work of almost every web develope…
    Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
    The viewer will learn how to implement Singleton Design Pattern in Java.
    The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now