Using Ant as a library
Ant has an extensive collection of predefined tasks that can be used directly from your Java/PHP code. In this post, Hung Huynh shows how to use Ant to download a file, unzip a package and execute shell commands.
Advertisement