First, the parts that you’ll need for any project:
- The project files – I’ve created a very simple same project that you can download for testing.
- SVN REPO for your project
- Cruisecontrol to manage the CI
- ANT so we can build the projects – This is included in the Cruisecontrol download.
Next if you are going to build ActionScript 2.0 projects you’ll need:
- Flash IDE for ActionScript 2.0 projects – Yeah a little bit of a bummer. You’ll need to install the IDE on the CI server so the projects can be built. I’m sure you could set it up with MTASC, but we needed to compile in the IDE.
- FlashCommand to build ActionScript 2.0 projects using the IDE (Mac Version) – Mike Chambers built this nifty tool and I’ve been using it for a while since I work in Eclipse with my ActionScript 2.0 projects.
- ASUnit for unit testing your ActionScript 2.0 projects
- The stand-alone flash player
Finally if you are going to build Flex Projects you’ll want the following:
- The Flex SDK – So we can compile our projects
- FlexUnit ANT tasks as well as FlexUnit if your going to integrate unit tests.
Yeah, that seems like a lot, but once everything is set up it is easy to maintain…almost set and forget. As a note, this is all going to be set up on a PC, I’m not a Mac guys, so sorry there, but I would hope the set up would translate nicely from PC to Mac. We now have the basic moving parts of the system. In my next few posts, I’ll explain setting up the system:
- Setting up Cruisecontrol
- Setting up an ActionScript 2.0 Cruisecontrol project
- Setting up an Flex Cruisecontrol project
- Integrating ActionScript 2.0 project unit test results
- Integrating Flex project unit test results
I’ll also provide sample files and packages as we go so you have something to start from.