Configuring Eclipse for production rule editing

Applies to Eclipse 4.0 and greater

1. Install the Eclipse module to support the plugin

Required only for Eclipse 4.4 (Luna) or greater. If you have Eclipse 4.3 (Kepler) installed, you can skip this step.

The Jess Editor plugin is not recognized in newer versions of the Eclipse IDE. To enable the plugin, you need to install an extra module that provides support for older plugins.

  1. In Eclipse, select "Install New Software..." from the Help menu.
  2. In the Work with field of the Install dialog, select
    "The Eclipse Project Updates -" for Luna
    "The Eclipse Project Updates -" for Mars
    "The Eclipse Project Updates -" for Neon
  3. Expand the Eclipse Tests, Examples, and Extras category, select Eclipse 2.0 Style Plugin Support and install it.

2. Install the Eclipse Jess editor plugin

  1. If you did not complete the Eclipse plugin installer while installing CTAT, launch PluginInstaller.exe (Windows) or (Mac), located in the folder in which you installed CTAT. The plugin installer will open.
  2. Check the checkbox next to Eclipse is installed on this computer.
  3. Click Next.
  4. Click Select location, locating the folder in which you installed Eclipse. Click OK when you've selected it.
  5. Click Finish to run the last step of the plugin installer. If no errors were encountered, a message will appear informing you that the Eclipse Jess editor plugin was installed successfully.

3. Create an Eclipse project for use with CTAT

  1. Launch Eclipse.
  2. If asked to select a workspace, click OK to accept the default workspace.
  3. Open the Project menu, and ensure that the Build Automatically option is unchecked (disabled).
  4. Select File > New > Project to open the Project Wizard.
  5. Select Java Project and click Next.
  6. Enter a project name (e.g., CTAT Workspace)
  7. Uncheck "Use default location", and browse for your CTAT workspace directory.
  8. Click Finish. If asked if you want to switch to the Java perspective, click No.

4. Verify that the Eclipse Jess editor plugin is working

  1. In Eclipse's Package Explorer or Navigator view, expand a cognitive tutor package such as FractionAddition. A Jess icon should appear next to the Jess files, wmeTypes.clp, and each .wme file, as shown below.
  2. Open a Jess file such as The syntax of the Jess file should be highlighted appropriately, and an outline of the file should appear in the Outline view (Window > Show view > Outline).

    If these features are not present, verify that the Jess Editor was used to open the file: in Eclipse, right-click (Windows) or CTRL+click (Mac) on and examine the items in the Open With menu. Jess Editor should appear at the top of the list. If it's not, quit Eclipse and try running the plugin installer again. Note that Eclipse needs to be restarted for plugin changes to take effect.