Flex Builder 3 on Eclipse 3.5

UPDATE: Flash Builder 4 (the new version of Flex Builder) officially supports Eclipse 3.5. Download Flash Builder 4.

I recently tried to upgrade to Eclipse 3.5 on my Ubuntu Linux desktop. Unfortunately this caused some problems with the Flex Builder 3 for Linux alpha 4. According to the stack traces in Eclipse the main problems seemed to stem from the com.adobe.flexbuilder.project.compiler.internal.ProblemManager class. So I decided to re-write that class from scratch to see if I could make the problems go away. My new implementation of ProblemManager seems to have fixed the issues that I was seeing. I’ve only tested this on Linux so I’m not sure if it will fix any problems on Mac or Windows. Here are the instructions for fixing the problems with Flex Builder 3 on Eclipse 3.5 on Linux:

  1. Make sure you have installed Eclipse 3.5 and the Flex Builder 4 for Linux alpha 4
  2. Download the ProblemManager patch
  3. Unzip the ProblemManager patch file
  4. Locate where Flex Builder is installed – in my case: ~/flex_stuff/Adobe_Flex_Builder_Linux
  5. Update the com/adobe/flexbuilder/project/compiler/internal/ProblemManager.class file in <Flex Builder Install Location>/eclipse/plugins/com.adobe.flexbuilder.project_3.0.204732/zornproject.jar with the file extracted from the patch
  6. Start Eclipse 3.5
  7. Smile!

UPDATE: Instructions for Windows were posted on InsideRIA by Mike Slinn. Thanks Mike!

So far this works for me. But I’m sure there are some problems I haven’t discovered with it yet. So please let me know if you have any problems. Also if someone wants to check this on Windows or Mac let me know if it works there. If not then feel free to update the ProblemManager.java class so that it does work.

DISCLAIMER: This patch is totally unsupported by Adobe. Use at your own risk.

This entry was posted in Flex. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

59 Comments

  1. Jony
    Posted July 27, 2010 at 3:06 pm | Permalink

    Dear Professor. James,

    I would be one of the idiot student of your whole list, who got passed, i still couldn’t make it done yet after 7 days of try.

    Confuse:
    =======
    “UPDATE: Flash Builder 4 (the new version of Flex Builder) officially supports Eclipse 3.5. Download Flash Builder 4.”

    1. I dont see they got linux alpha 4 to download Flex Builder? new url: https://www.adobe.com/cfusion/tdrc/index.cfm?product=flash_builder

    2. Fedora 12, i got eclipse Version: 3.5.1
    Build id: M20090917-0800

    Also i got Aptana latest and greatest with Flex Builder

    Question:
    =========
    Aptana eclipse we are talking here or Real eclipse from eclipse site we are talking here?

    Can you please point me a step by step kindly?

    Many thanks, thanks in advance

    Thank you
    Jony

    • Posted July 28, 2010 at 5:05 pm | Permalink

      The Linux alpha has not been updated for Eclipse 3.5 / 3.6 nor has it been updated for Flex 4. I highly recommend IntelliJ or some other tool that has real Flex support on Linux. I’ve switch to IntelliJ.

  2. Jony
    Posted July 28, 2010 at 3:30 am | Permalink

    @James: Please look this two link, i am afraid why its not working?

    My tools:
    ======
    1. Eclipse Version: 3.5.1, Build id: M20090917-0800
    2. Flex Builder latest and greatest
    3. Fedora 12
    4. Your guide

    Failed:
    =====
    Screen shot: http://i.imgur.com/AvizW.png
    Steps i did: http://gist.github.com/493968

    Please advice..

    Thank you

    • Posted July 28, 2010 at 5:03 pm | Permalink

      You also need to follow these instructions:
      http://blog.danyul.id.au/?p=68

      Fun stuff! I’ve actually switched to IntelliJ. :)

      • Max
        Posted August 5, 2010 at 1:02 am | Permalink

        For other Linux users…

        I have been battling along with the alpha releases for flexbuilder 3 on Linux for some time. However a recent project in Flex4 has forced me to look for another solution.

        I would like to try IntelliJ but I haven’t got the cash at the moment so i’ve tried fb4linux (http://code.google.com/p/fb4linux/).

        It obviously lacks many of the features in Flashbuilder but since for my day to day stuff i am basically only interested in a decent editor (code completion, automatic management of imports, hints etc) and debugger, this does the trick.

5 Trackbacks

  1. [...] least one other person). If you find yourself with this problem then please check out his blog post here for the solution. As always, feedback is appreciated. Good work [...]

  2. By Flex Builder on Linux Update on November 25, 2009 at 6:32 am

    [...] Adobe has posted an update for Flex Builder on Linux which was scheduled to time-out on December 1, 2009. While the Flex SDK has always worked on Linux, development is certainly easier with Eclipse support for coding, compiling, and debugging. This alpha 5 release of Flex Builder for Linux allows us Linux folks to continue building Flex applications in Eclipse for another 401 days. However, Adobe has still not announced any plans to create a full Flex Builder (or Flash Builder) product for Linux. If that is something you want then please go vote for FB-19053. This update still doesn’t support Eclipse 3.5. If you want Eclipse 3.5 support then you will need to apply patches created by Danyul and myself. [...]

  3. [...] So, if you’re keen on trying it out then go ahead, you will probably still be best to follow the step I outlined in a previous post as well as use a patch created by James. [...]

  4. [...] James Ward’s ProblemManager patch (steps 2,3,4,5). A preliminary solution is to switch off warnings in the “project properties [...]

  5. [...] So, if you’re keen on trying it out then go ahead, you will probably still be best to follow the step I outlined in a previous post as well as use a patch created by James. [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Subscribe without commenting