Build EclipseFP 2 from source

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

  1. Get Eclipse, the distribution named “Eclipse Classic”. Extraction equals installation.
  2. 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.)
  3. Build and install Scion, (it will install both the library as well as the server program):
    cd scion
    cabal install
  4. Get the EclipseFP source:
    git clone git://github.com/JPMoresmau/eclipsefp.git
  5. Import all Eclipse projects from these repositories into Eclipse. There are 20, so the Multi Project Import/Export plugin might come in handy.
  6. Build all projects or set your workspace to automatically build all projects for you
  7. 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!)
  8. 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.
  9. 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)

Older source code

Thomas ten Cate's version can be found on Thomas ten Cate's GitHub

Older source code is still available in a Darcs repository at http://code.haskell.org/eclipsefp/eclipsefp2.