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
Just documenting my solution in case it might help anyone. Doing it cleanly as in David's answer is probably the right way to go, but just in case you need the quick solution...
1) Move your taskdef inside the macro you want to call, instead of defining it outside. This will avoid it being evaluated and the build breaking immediatelly.
2) Add your dependencies resolution as a dependency of the task containing the call to the macro.