I\'ve created a taskdef in my build.xml that depends on a class that resides in a jar imported by Ivy.
I\'d like to understand if it\'s possible in any way, given the fa
The following is an example that uses ivy to retrieve the groovy task dependencies. As stated by David the trick is to call taskdef after the ivy has resolved the dependencies and created a path reference:
The following is more normal example build
I create configurations to match the build classpaths I require. Pay special attention to the mappings for the "build" configuration. This is how the jars associated with ANT tasks can be kept separate to the jars used for compilation.
Reaction to your chicken and egg comment.
I use ivy to manage all build dependencies. The following target ensures that ivy is installed on my build machine.