
In Part 1 of this article, I showed you how to create a basic Ant script that made use of Flex Ant tasks to automate your project's build process.
In this article, I'll expand on what I covered in Part 1 and add more commonly used tasks to enhance the Ant build script. The following list includes the most typical types of tasks a developer would need to automate in their build script.
Beyond just compiling a SWF file, these tasks automate more of the build process and allow other developers on your team to create new releases of your Flex project. There are many variants that can be implemented with your script, and you can remove or add these tasks at your discretion.
In order to make the most of this article, you need the following software and files:
A basic knowledge of Adobe Flex 3, and a working knowledge of object-oriented programming principles are needed. Knowledge of compiling Flex applications with the command prompt is helpful, but not vital.
Dave Flatley is the President/CTO of PXL Designs, LLC. He has worked as a web developer consultant in the New York City Metropolitan area for over nine years with a focus on the Flash Player in conjunction with other related web technologies. Over his career, Dave has worked on web and desktop applications for such companies as Intel, Fidelity, Fleer, Redmond Software, DRS Technologies, Merrill Lynch, and Selective Insurance.