This plugin provides completion for Ant.
To use it add ant to the plugins array in your zshrc file.
plugins=(... ant)
It caches ant targets in a file named .ant_targets, you might want to add that to your .gitignore file.
.ant_targets
.gitignore