Eclipse Setup

The file layout was designed in order to make both command line building
and eclipse development easy. This was achieved at the price of a slightly
involved eclipse setup.

To get a work eclipse setup, first you must obtain the sources.
You can either download the sources as a zip file or get them with git.
Then you must setup all of the modules in eclipse:

The Hybrid runtime module.

In the eclipse Package Explorer, select File => new => Java Project:

  1. name: Hybrid Runtime.
  2. switch off default location
  3. enter the hre subdirectory of the toolset sources as the location
  4. finish

The core data structures.

In the eclipse Package Explorer, select File => new => Java Project:

  1. name: core
  2. switch off default location
  3. enter the core subdirectory of the toolset sources as the location
  4. finish
  5. select project core => build path => configure build path
  6. in the projects tab: add the Hybrid Runtime project

In addition, you need to create an Eclipse ANT builder that
calls the generate target from build.xml. This target
depends on src/grammers and modifies gensrc. It should be run
before the Java builder.

The main application module.

In the eclipse Package Explorer, select File => new => Java Project:

  1. name: main
  2. switch off default location
  3. enter the main subdirectory of the toolset sources as the location
  4. finish
  5. select project core => build path => configure build path
  6. in the projects tab: add Hybrid Runtime and core.