Reuse your Flex SDK with Sprouts 3

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.