Versions Compared

Key

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

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.

...

Important settings to note/change/add are "-clean" and the "-Xms1000m", "-Xmx1250m" and "-Xss2m" settings.

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

You need to install the Scala IDE version that matches the Scala version at Tested/Verified Tool Versions.

...

A Setup Diagnostics dialog will appear.  Just click OK.

Install XML Support

In Eclipse.  Click Help -> Install New Software.

...

Click Next and follow the prompts to complete installation.

Install EGit

In Eclipse.  Click Help -> Install New Software.

...

Click Next and follow the prompts to complete installation.

Importing the Projects

Daffodil consists of a number of separate eclipse projects. (At least 15 as of this writing.) They have names like:

...

After this operation as completed, all the projects should appear in the 'Package Explorer' to the left. There will be more than what is shown in this screen shot:


Define Eclipse DAFFODIL_ROOT

  1. Go to Window -> Preferences -> General -> Workspace -> Linked Resources
  2. Under 'Defined path variables', click 'New...'
  3. Enter DAFFODIL_ROOT as the Name
  4. Enter the path to the daffodil repository in Location.
  5. Click OK twice.
  6. Exit Eclipse.

...