UPDATED: just found a new patch for FB3 Linux alpha5 on a Chinese site :
(This will extend the trial period from 31/12/2010 to 2012)
This is a simple quick guide (mini “how to”) for installing FlexBuilder (Linux) into Eclipse. (tested on Ubunt 8.04 Hardy and Ubuntu 10.04 Lucid)
1/ Get Eclipse 3.4+ (for Java EE) and install : (example dir: /opt/eclipse )
(assuming eclipse-jee-galileo-SR2-linux-gtk.tar.gz downloaded to current dir )
$ sudo chmod -R 777 /opt
$ tar zxvf eclipse-jee-galileo-SR2-linux-gtk.tar.gz -C /opt/
2/ Get Flex Builder 3 (alpha 5: “flexbuilder_linux_install_a5_112409.bin“) and install : (example dir: /opt/Adobe_Flex_Builder_Linux )
Then install it by executing the file: (example dir: /opt/Adobe_Flex_Builder_Linux )
$ chmod +x ./flexbuilder_linux_install_a5_112409.bin
(point to the above Eclipse if asked – Process with Caution)
3/ Get Flex SDK (3.5 or 3.3) and install : (example dir: /opt/Adobe_Flex_Builder_Linux/sdk/3.5.0 )
(in new versions, Adobe seperates DataVisualization.swc and Automation.swc from SDK, so you may have to download them in seperate package and put into SDK folder)
4/ If you are using Eclipse 3.3 (Europa), the installation is done! But for Eclipse 3.4+ (Ganymede or later) , there are 2 bugs with FlexBuilder linux patch (MXML editor & debugger disconnection), which we’ll have to patch manually:
Unofficial legal patch:
To patch, first backup the followings in FLEX_BUILDER_HOME/eclipse/plugins to somewhere else:
com.adobe.flexbuilder.debug.e33_3.0.NNNNNN (whole directory)
Change versions of the jars and dir in the patch to match the version above:
FlexBuilder alpha 5: NNNNNN = 257568
FlexBuilder alpha 4: NNNNNN = 204732
FlexBuilder alpha 3: NNNNNN = 194161
Then copy whole directory eclipse in the patch to FLEX_BUILDER_HOME
(merge with existing eclipse dir) to replace the mentioned jars and dirs
by “patched” ones.
N.B: If you just simply copy and replace the jars, instead of whole directory, it will NOT work.
Well, now you can start Eclipse :
and try some Flex project :-) .
Have fun Flexing !