Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

IMPORTANT: We are targeting Scala 2.9.x

Contents

Table of Contents
excludeContents

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:

Code Block
titleSample eclipse.ini
-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.

Image Removed

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.

Image Removed

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

Image Removed

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".

Image Removed

Click Next and follow the prompts to complete installation.

 Page contents removed (obsolete). See https://cwiki.apache.org/confluence/display/DAFFODIL/Eclipse+Tricks+and+Notes