Using Ant with TextMate

Jan 31, 2009

I thought it was time that I did a quick guide to getting up and building with Ant and TextMate.

Installation

The easiest way to install Ant is to install Apple’s Developer Tools, they can be found on the DVD that came with your install of OS X. If you don’t have one you can also download them with Xcode here. Alternatively, if you prefer leaner downloads and cutting edge releases then the Ant binaries are available here. I’ve not done this myself, but this looks as though it details the appropriate steps. Verifying Ant’s installed is as easy as typing ant -version in a Terminal window - you will see something similar to Apache Ant version 1.7.0 compiled on December 13 2006. If this is ok then the second step of the process is to install the Ant.tmbundle, I’ve zipped a version for download here, but would recommend that you use subversion and grab the latest version from here. Double clicking the bundle will be enough for TextMate to recognise and install it. 1. Install. 2. Project set up.