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
Just to disillusion you: dependency management in combination with a build system is hard! Unless you have a really simple example, this is not a no-brainer, and you will have to invest some work.
If you want to or have to use Ant, Ivy is definitely a good choice. Being an official sub-project of Ant, it integrates relatively smoothly.