assertTrue is the professional blog of Luke Bayes and Ali Mills

Flex 3 SDK released in Sprouts!

Posted by Luke Bayes Mon, 25 Feb 2008 16:02:00 GMT

The Flex 3 SDK was released by Adobe yesterday and this morning, I’m pleased to announce that Sprouts already supports it.

To take advantage of the new Flex 3 SDK, you’ll need to remove your existing sprout gems, clear your sprout cache and make a minor modification to any newly created rakefiles.

Here are the steps you should take to upgrade your sprout gems:

sprout -R
sudo gem update sprout

The main sprout gem should be at version 0.7.167, you can confirm this by running sprout -v in a terminal.

Now create a new ActionScript 3.0 project named ‘SomeProject’ as follows:
sprout -n as3 SomeProject

Change directory to the new folder named SomeProject and open up the file named rakefile.rb.

In that rakefile, look for commented lines like:
# Uncomment to use the Flex 3 SDK
#  t.gem_name = 'sprout-flex3sdk-tool'
And uncomment the line that begins with t.gem_name.

Return to your shell and run rake.

From now on, your ActionScript 3.0 and MXML sprout projects will have those lines and can be uncommented to take advantage of the latest SDK. We’ll likely be making Flex 3 SDK the default at some point, but we’re going to keep it at the Flex 2 SDK until at least a couple bugs shake out.

As with all other Sprout ‘Tools’, you can always just install the Flex 3 SDK directly via RubyGems as follows:
sudo gem install sprout-flex3sdk-tool
Regardless of which way you install it, you’ll have access to the new SDK binaries directly from your terminal like the following:
mxmlc -v
As far as AIR SDK support, we got slowed down a little bit because it’s being distributed inside of a DMG package and those are kind of a mess to deal with from the terminal. But we’re looking into distribution alternatives and should have something available shortly!

As always, please let us know if anything doesn’t work exactly as expected.

Tags  | no comments

Comments

Your Reply

Comment Form.

Fields denoted with an "*" are required.