How to Install Ant

Depending on how you acquired Ant, these steps will change. If you downloaded a binary, all you need to do is unzip (or un-gzip or un-tar) the downloaded file onto your disk. The distribution will create a directory called jakarta-ant-1.4.1 (or whatever the current version is). You can let this directory be created anywhere you want because you will be changing environment variables to set things up. We’ll discuss those variables after we discuss building Ant from source.

Building Ant

Building Ant from source is not a big deal. In fact, in most cases, you can simply go into the jakarta-ant directory, execute build.bat (or build.sh for UNIX), and watch it build. The build process actually creates a stripped-down version of ...

Get Ant Developer’s Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.