IMPORTANT: We are using Eclipse Indigo IDE (version 3.7)

IMPORTANT: We are targeting Scala 2.9.x

Update Eclipse.ini

  1. Go to the directory where you extracted the eclipse folder to.
  2. Open the eclipse folder.
  3. Locate the eclipse.ini file.
  4. Right-click eclipse.ini, select Edit.

You'll want to change the contents to look similar to the following:

-clean
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Xms1000m
-Xmx1250m
-Xss2m

Save and close the file.

Setup Eclipse

  1. Run Eclipse
  2. Pick a place for an eclipse workspace, or use the default workspace location
  3. IMPORTANT: This workspace location is NOT inside your local git repository directory tree.
  4. If this is your first time launching this Eclipse installation you'll be presented with a Start-up screen that contains tutorial information.
  5. In the top right corner there's a button titled 'Workbench'. Click it.  This will take you to the Java Perspective.
  6. From the top menu, click Help -> Install New Software

You will install three things: Scala IDE, XML Support and EGit.

Install Scala IDE

Because we are currently targeting Scala 2.9.x you will want to paste the following URL into the "work with:" box on the "Installing New Software" dialog: http://download.scala-ide.org/sdk/e37/scala29/stable/site

After you've pasted the URL in the 'Work with' box.  Hit ENTER and it will go and probe the site for software and populate with a listing as you'll find below.

Check the box next to 'Scala IDE for Eclipse' and click Next.  Follow the prompts to complete installation.

After a few minutes, eclipse will notify you that it will need to be restarted.  Go ahead.

Install XML Support

In Eclipse.  Click Help -> Install New Software.

In the 'Work with' box select the drop down.

You will see a list of pre-defined choices.  One of them is "Indigo - ..." select it.

In the search filter box below that, type "xml".

Expand "Programming Languages" and select the checkbox next to "Eclipse XML Editors and Tools".

Click Next and follow the prompts to complete installation.

Install EGit

In Eclipse.  Click Help -> Install New Software.

In the select the dropdown next to the "Work with" box.

Select Indigo.

In the search field type "EGit".

Click Next and follow the prompts to complete installation.