You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Ravi <ra...@yahoo-inc.com> on 2011/04/30 08:58:20 UTC

Re: ant version problem

Daniel McEnnis <dm...@...> writes:

> 
> Dear Hadoop,
> 
> Which version of ant do I need to keep the hadoop build from failing.
> Netbeans ant works as well as eclipse ant works. However, ant 1.8.2
> does not, nor does the
> default ant from Ubuntu 10.10.  Snippet from failure to follow:
> 
> BUILD FAILED
> /home/user/src/trunk/build.xml:338: taskdef A class needed by class
> org.apache.hadoop.record.compiler.ant.RccTask cannot be found: Task
>  using the classloader

> Total time: 6 seconds
> 
> Sincerely,
> 
> Daniel McEnnis.
> 
> 


Hi! 

In case you're still facing this problem (unlikely but I wanted to document it
for the others), try setting ant.home in a build.properties file. 

I put it in my home directory. Then run ant veryclean compile

Cheers
Ravi