It seems that ant dependency management isn\'t great to say the least... But, is there hope? Today there are better choices for build or project management such as maven, iv
Here's my take: use the best of both worlds: Maven just for dependencies and Ant for your day-to-day build heavy-lifting:
Why you should use the Maven Ant Tasks instead of Maven or Ivy