ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akpraha <jay.a....@email.cz>
Subject <ivy:retrieve/> task in Eclipse w/ IvyDE
Date Tue, 26 Aug 2008 05:50:06 GMT

Hi,

I'm pretty much fed up with Maven and wanted to give Ivy a try.  I've
installed IvyDE/Ivy into Eclipse 3.4, and after a bit of configuration have
got it using my local maven repo instead of the public - so far, so good. 
However, when I try to run my ant build from within Eclipse, I get the
following error that the jar file containing the task cannot be found. I
would expect that Ivy's osgi bundle should be able to contribute a task to
Eclipse's built-in ant, however it does not appear to do so.  I've seen
various bits of advice to copy ivy.jar to the ant plugin's lib directory, or
to add it to the Ant classpath in eclipse preferences -- BUT, I really don't
want to manually maintain the version of Ivy used, esp. when it's already
being installed automatically by the IvyDE plugin.

Any thoughts on this?

-Andy


BUILD FAILED
/home/andy/projects/www/TournamentWeb/build/build.xml:19: Problem: failed to
create task or type antlib:org.apache.ivy.ant:retrieve
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.

This appears to be an antlib declaration. 
Action: Check that the implementing library exists in one of:
       
-/opt/eclipse/eclipse-3.4/plugins/org.apache.ant_1.7.0.v200803061910/lib
        -/home/andy/.ant/lib
        -a directory added on the command line with the -lib argument



-- 
View this message in context: http://www.nabble.com/%3Civy%3Aretrieve-%3E-task-in-Eclipse-w--IvyDE-tp19156149p19156149.html
Sent from the ivy-user mailing list archive at Nabble.com.


Mime
View raw message