I would advice to look in the ivy source code for an example.  There is
certainly a task that already do something similar to what you want to do.

Gilles

2007/10/13, Torsten Curdt <[EMAIL PROTECTED]>:
>
> In a custom ant task I would like to get the dependencies (and the
> paths to the artifacts) of the project as defined in the ivy.xml.
> When writing a maven mojo =:-o I would use
>
>    Set projectArtifacts = getProject().getArtifacts();
>
> How could I get the dependencies from ivy in my ant task?
>
> cheers
> --
> Torsten
>
>


-- 
Gilles SCOKART

Reply via email to