Build EclipseFP 2 from source

As usual, this assumes that you have GHC, cabal-install, and git. This should work on all platforms.

Get Eclipse, the distribution named “Eclipse Classic”. Extraction equals installation.

Get the Scion source:git clone git://github.com/JPMoresmau/scion.git
(JP's master branch corresponds to nominolo’s devel branch, but there are sometimes little things done in JP's branch that are not immediately pulled by nominolo.)

Build and install Scion, (it will install both the library as well as the server program):cd scion
cabal install

Get the EclipseFP source:git clone git://github.com/JPMoresmau/eclipsefp.git

Import all Eclipse projects from these repositories into Eclipse. There are 20, so the Multi Project Import/Export plugin might come in handy.

Build all projects or set your workspace to automatically build all projects for you

Hit Run, Run Configurations. Add a new launch “Eclipse Application” launch configuration. The default settings for this launch configuration should work, so just click Run. (Previous instructions were wrong; thanks to Axeman6 for pointing this out!)

In the new Eclipse window that (hopefully) pops up, set the location of the Scion server via Window, Preferences, Haskell, Scion. If you installed it in a fairly standard location, the Autodetect button should do the trick; otherwise, just Browse.

If something doesn’t work, turn on tracing. In the Run Configurations dialog, on the Tracing tab, you can enable tracing options for various plug-ins. These will output to the Console at the bottom of the host Eclipse window. To see the traffic between the Scion client and server, turn on the logs for net.sf.eclipsefp.haskell.scion.client.

Please let us know if you tried this. Also let me know if something didn’t work, so I can improve it! (Use the Sourceforge forum or the eclipsefp dev list)