incubator-hcatalog-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Gates <ga...@hortonworks.com>
Subject Re: Could not load definitions from resource net/sf/antcontrib/antlib.xml. It could not be found.
Date Wed, 15 Aug 2012 21:52:46 GMT
What command line are you executing?  It looks as if you don't have Apache Forrest installed.
 Where it says -Dforrest.home=_forrest_home_ you need to replace _forrest_home_ to where you've
installed Forrest on your machine.  For example "ant -Dforrest.home=/usr/local/forrest ..."

Alan.

On Aug 15, 2012, at 1:13 PM, Petr Babkin wrote:

> Hi,
> 
> following this walkthrough on HCatalog installation, I am getting the following error:
> 
> forrest:
>      [exec] Apache Forrest.  Run 'forrest -projecthelp' to list options
>      [exec] 
>      [exec] Buildfile: /home/ubuntu/apache-forrest-0.9/main/forrest.build.xml
>      [exec] Could not load definitions from resource net/sf/antcontrib/antlib.xml. It
could not be found.
>      [exec] 
>      [exec] check-java-version:
>      [exec] 
>      [exec] BUILD FAILED
>      [exec] /home/ubuntu/apache-forrest-0.9/main/forrest.build.xml:281: Problem: failed
to create task or type if
>      [exec] Cause: The name is undefined.
>      [exec] Action: Check the spelling.
>      [exec] Action: Check that any custom tasks/types have been declared.
>      [exec] Action: Check that any <presetdef>/<macrodef> declarations have
taken place.
>      [exec] 
>      [exec] 
>      [exec] Total time: 1 second
> 
> BUILD FAILED
> /tmp/hcat_source_release/hcatalog-src-0.4.0-incubating/build.xml:393: exec returned:
1
> 
> Any advice greatly appreciated!
> 
> -- 
> Regards,
> Petr Babkin
> Ontologist, Revelytix Inc.
> 


Mime
View raw message