Contents
Table of Contents | ||
---|---|---|
|
Update Eclipse.ini
- Go to the directory where you extracted the eclipse folder to.
- Open the eclipse folder.
- Locate the eclipse.ini file.
- 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
- Run Eclipse
- Pick a place for an eclipse workspace, or use the default workspace location
- IMPORTANT: This workspace location is NOT inside your local git repository directory tree.
- If this is your first time launching this Eclipse installation you'll be presented with a Start-up screen that contains tutorial information.
- In the top right corner there's a button titled 'Workbench'. Click it. This will take you to the Java Perspective.
- 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
- Go to Window -> Preferences -> General -> Workspace -> Linked Resources
- Under 'Defined path variables', click 'New...'
- Enter DAFFODIL_ROOT as the Name
- Enter the path to the daffodil repository in Location.
- Click OK twice.
- Exit Eclipse.
...