I love ANT, no two ways around it I really dig it. I have been developing a new example modular application recently which compiles using RSL’s and I have been working on an ANT script to build the bad boy. There were a few hoops I had to jump through and I got fed up with searching high and low for certain solutions so have decided to build a GitHub repository named Ant-Funk and upload my ANT scripts. Read the WIKI as these are to be used as a reference to help people getting started with building Flex applications using ANT. Also thanks to Pedr Browne who collaborated with me on some of these scripts and will be contributing more in the future!
Some of the tasks include:
- Build custom wrapper using a SWFObject template.
- Compile against RSL.
- Compile a Library project to a SWC and extract the SWF to use as a RSL.
- Compile’s module’s.
- Launch HTML in a browser.
http://github.com/newtriks/Ant-Funk


4 Comments
thanks a lot! this was really useful!
still can’t understand why it’s so hard to find good examples about using Ant in as3..
No probs, glad it helped. I am struggling to find time to update this further as I have some more ANT schtuff I am aiming to upload soon.
Hello,
Do you plan to had some ant task in order to build a library swc containing several assets like image, icons, font ?
Lionel
Hi Lionel,
I plan on adding plenty more and yes, SWC asset libraries also. Aiming to have some update and further ANT related news very soon so keep checkin’.
Cheers,
Simon
One Trackback
[...] Eclipse Plugin RobotGaiaAnt SWC / RSL Ant Scripts Master Flex Ant File GitHub Ant Scripts PureMVC Generator Ant RobotLegs Ant [...]