11 Building Flex with Rake

Goal

You’d like to compile your Flex applications with a few simple commands. You may want to simply build from the command line, or you may want to make this build part of a continuous integration build.

Solution

Make a simple build file using Rake to help automate this task.

Rake Is Your Friend

You can’t get very far working with Rails before you run into Rake, the Ruby build tool (http://rake.rubyforge.org/). Use Rake to run tests, migrate the database, and do several other useful tasks.

Rake certainly isn’t Rails-specific, though you can use it to do just about anything you want on your system. Here we’re going to look at making a Rake build file that will provide a simple wrapper around ...

Get Flex on Rails: Building Rich Internet Applications with Adobe Flex 3 and Rails 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.