It’s been a goal of mine for some time to learn how to implement unit testing, test driven development and continuous integration. I’ve understood these concepts in the abstract but, as a freelance programmer working on my own, the barriers to entry have been a bit too high for me to take the plunge.

With Allurent‘s release of their Antennae Ant-based build framework all this has changed. Antennae provides a framework that automates the entire build/test/deploy process. Its use can speed you on your way to one of the holy grails of software development – the one-click build – for your Flex projects.

Here are a few of its features:

  • You can build multiple projects with, of course, one click
  • Projects can contain sub-projects
  • Some of your projects can be code libraries, and you can specify which libraries each project uses.
  • Antennae compiles projects using mxmlc, and libraries using compc…
  • And runs unit tests using FlexUnit

Above I said that Antennae will ‘speed you on your way’. Well, speed is a relative thing. If you’re fairly new to Ant (as I was) you’ll still have some studying to do. I invested a good deal of time studying the Ant manual and Antennae’s code. What Antennae did for me was to move my goal from the realm of “I’d like to do this, but where do I start?” to “I can do this!”

As part of my process I decided that I should get a good overview of Ant. I learn best by taking notes so I ended up developing – not precisely an ‘Ant cheat sheet’ – but more of an ‘Ant reminder sheet’. Simply stated, it’s a list of much of what Ant can do in ‘somewhat organized’ format. I don’t know how helpful it would be to others, but you’re welcome to take a look. Here’s a download link (right click & “save link as”):

AntRef.doc

It’s a Word doc consisting of three pages of fairly fine print, which says something about Ant’s extensive capabilities. Also, be aware that it’s oriented towards Flex developers and omits some of Ant’s extensive Java-related capabilities.

I’m still far from an Ant expert but at least I’ve got an overview. And I’m happy to report that I’ve now implemented the Antennae framework for my own projects and am happily doing one-click builds. :)

2 Responses to “Allurent’s Antennae & an Ant Overview”

  1. nwebb Says:

    Hi Douglas. Great post – thanks :]
    I’m getting a 404 when I try to download the AntRef doc at the moment. Any chance you could check the url?

    Cheers,
    Neil

  2. Sachin Sharma Says:

    Hi Douglas.

    Great Reminder sheet you have compiled.
    Thanks a lot !

    regards
    Sachin Sharma

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word