Installing Adobe Flex Builder Linux Public Alpha on Fedora 8

On April 10, 2008 · 9 Comments

I’m embarking on a little Flex development, but I ran into a snag installing the Flex Builder into my *very* stock Fedora 8 system. I found a link to some comments here in follow up comment to the author of the post.

Apparently (and I’m not an Eclipse expert), the problem stems from Fedora’s choice of “Eclipse Europa”, rather than “Eclipse Classic”.

Problems:

  • The install says “Choose an existing Eclipse 3.3 or higher root folder to be extended with the Flex Builder Plug-ins”
  • Adobe Flex Builder 3 Message requesting root folder

  • An error message is displayed when you select the correct folder
  • Error message displayed when correct folder is selected

The installation proceeds fine from that point, but the Flex project isn’t available in Eclipse. As it turns out, you need to copy some files by hand:

cd ~/Adobe_Flex_Builder_Linux/
cd com.adobe.flexbuilder.update.site
sudo cp features/* /usr/share/eclipse/features/
sudo cp plugins/* /usr/share/eclipse/plugins/

And that’s all there is to it – you’ll have access to the Flex Projects in Eclipse. I’ll update this post if I find any problems with this method of patching the installation

Update: 13-Apr-2008

The above works great for *creating* a flex application, but it will not compile. There is an error generated that says:


Flex 0.0 (1): Flex SDK location "/home/.../configuration/org.eclipse.osgi/bundles/159/1/.cp/devsdks/moxie" does not exist.

I struggled and struggled to find the elusive “moxie” plugin. Alas, It was not found on my computer, or in any of the jar files. It turns out you need to download the “Adobe Flex SDK” from the “Stable Builds” section of (Adobe Wiki link):
http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+3

  1. Download the file
  2. unzip it into a directory
  3. In Eclipse, Window->Preferences->Flex->Installed Flex SDKs->Add the directory you just created
  4. Delete the other installed SDKs for moxie (Flex 0.0)
  5. Enjoy!

I hope this helps someone
If you want to test to see if your installation works, add the following between the mx:Application tags in a Flex project


<mx:Canvas width="100%" height="100%">
<mx:Label text="Hello World"/>
</mx:Canvas>


9 Responses to “Installing Adobe Flex Builder Linux Public Alpha on Fedora 8”

  1. Abhilash I says:

    That was really helpful for me. Thanks a lot.

  2. Chris says:

    Great post! Worked like a charm! Wish Adobe could explain it that clearly! I wasted several hours trying to get Flex Builder working last month, to no avail. Now it’s running smoothly.

  3. David says:

    Chris,
    I’m glad you were able to get Flex Builder going. I spent a *lot* of time trying to get it going, and only succeeded out of sheer determination. Good luck!

  4. Chris says:

    Note to anyone who also has FDT installed. Be careful when disabling or uninstalling the FDT Eclipse plugin. After I removed FDT, I found Flex Builder was also completely wiped out, and even reinstalling FB isn’t bringing it back…

  5. Chris says:

    Quick update, I fixed it just by re-enabling the Flex Builder plugin under Help->Manage Configuration. Love how disabling one plugin in Eclipse disables all similar ones. I was just thinking the other day how I didn’t have enough frustration in my life ;)

  6. Chris says:

    Has anyone found a way to get a list of compile-time errors? Whenever I compile in FB, all I get is a popup saying “There were errors”. I’ll just have to call mxmlc directly, but it’s strange that errors aren’t simply written to the console panel. I find it hard to believe Adobe overlooked such a basic feature.

  7. Thomas says:

    nice, all works great.

    Thanks

  8. realgt says:

    if you downloaded the plugin (a4) it comes with sdk 3.0 so you dont have to download another SDK, if you don’t want to….you can just add an sdk in eclipse pointing to that folder. its in the sdks/3.0.0 folder

  9. Gaurav Pandey says:

    Thanks a ton! :)

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word