June 25, 2009

Updating to Eclipse Galileo with Flex Plugin

Pfewwww. Installing a new version of eclipse with it’s plugins is something I always dread. The hassles and problems never seem to end.

After updating my Flex Builder today it stopped working giving me weird errors and refusing to start. After having a look at the log files and realizing I don’t understand any of it I decided to do a clean install of the new Eclipse and get the Flex plugin instead. Easier said then done.

After installing the new eclipse version the plugin refused to install. After trying to find the “manage configuration” to add the plugin manually I realizzed I couldn’t find it in the new Eclipse version and after 30 minutes of Googling i decided to give up and reinstall. Same error occured after reinstall so after another hour or two of Googling I finally came up with an answer on how to get this working properly.

In the Eclipse install folder there is a folder called links, in it, you should find a file named “com.adobe.flexbuilder.feature.core.link”. Open this file in notepad and make sure it says: “path=C:/Program Files (x86)/Adobe/Flex Builder 3 Plug-in” where “C:/Program Files (x86)/Adobe/Flex Builder 3 Plug-in” is the Flex plugin installation directory. The problem I had was that the file was missing the “path=”. Some other people I’ve heard miss this file completely, if you do, then just create it in notepad.

After saving the file just restart Eclipse and go to Window-> Open perspective -> Other and you should see the Flex ones listed there.

I assume this approach would be good for all plugins to Eclpse which will cause problems during install (which in my experience is all of them).

Good luck and stay calm :]

Leave a Reply