I've installed ant… and I've installed ivy (both from synaptic), but ant can't find ivy!
When I run ant to build 'october-chess-engine' I get the following:
BUILD FAILED
/home/zeigfreid/repos/october-chess-engine/build.xml:32: Problem: failed to create task or type antlib:org.apache.ivy.ant:resolve
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet
This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-/usr/share/ant/lib
-/home/zeigfreid/.ant/lib
-a directory added on the command line with the -lib argument
I'm not sure how to proceed! I checked out this question, but it didn't address my issue.
Thanks,
Best Answer
How did you install ivy? In any case you need to put ivy.jar (from http://ant.apache.org/ivy/download.html) in any of the listed directories
/usr/share/ant/lib
${HOME}/.ant/lib
(in your case/home/zeigfreid/.ant/lib
)You can check what and is loading if you execute it with the
-v
option (verbose)