Reuse your Flex SDK with Sprouts

Well, I just started taking a look at Sprouts to manage my Flex builds by I didn’t want to download the Flex SDK again!
As soon as I saw that Sprouts was trying to download the flex_sdk_3.zip file I just Ctrl-C and did the following:

  1. touch ~/.sprouts/cache/sprout-flex3sdk-tool-3.3.0/flex_sdk_3.zip
  2. ln -s /opt/Adobe Flex/flex_sdk_3 ~/.sprouts/cache/sprout-flex3sdk-tool-3.3.0/archive

This just fools Sprouts which is advised against in the google groups discussions but saves my some time :P

I did a similar process for the Flash Player 10 which I had downloaded but you could also use the one that came with the Flex SDK. Basically you need to :

  1. touch  ~/.sprouts/cache/0.7/sprout-flashplayer-tool-10.22.1/flash_player_10_linux_dev.tar.gz
  2. mkdir ~/.sprouts/cache/0.7/sprout-flashplayer-tool-10.22.1/archive
  3. ln -s <wherever>/flash_player_10_linux_dev ~/.sprouts/cache/0.7/sprout-flashplayer-tool-10.22.1/archive/flash_player_10_linux_dev

This is a simple hack but might be useful to some of you.

3 Comments so far

  1. Richie Vos on July 14th, 2009

    Very useful. Thanks for doing this. Here’s a rake task that does your steps through rake sprout:fake_flex_sdk: http://gist.github.com/147148

  2. Richie Vos on July 15th, 2009

    Also, check out http://github.com/jerryvos/sprout-flexsystemsdk-tool/tree/master which is a little hackery I’ve started on to get this working.

  3. v pills on August 16th, 2010

    Hi. Nice post, congratulations.. See you later.

Leave a Reply