There is another option - it is called Project Sprouts .
It is a system built with Ruby, RubyGems, and Rake that provides many of the features found in Maven and ANT, but with a much more syntactic and simpler build script.
For example, the ANT script shown above would look like this in Sprouts:
require 'rubygems' require 'sprout' desc 'Compile and run the SWF' flashplayer :run => 'bin/SomeProject.swf' mxmlc 'bin/SomeProject.swf' do |t| t.input = 'src/SomeProject.as' t.default_size = '800 600' t.default_background_color = '#ffffff' t.keep_generated_actionscript = true t.library_path << 'libs' end task :default => :run
After installing Ruby and RubyGems, you simply invoke this script with:
rake
To delete the generated files, run:
rake clean
To see the available tasks:
rake -T
Another great advantage Sprouts once installed is that it provides project, class, and test generators that will get any development box ready to run with a few simple steps on the command line.
# Generate a project and cd into it: sprout -n mxml SomeProject cd SomeProject
Luke bayes
source share