Configuring Eclipse 3.2 for production rule editing

1. 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 plugins were installed.

2. 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-Tutors)
  7. Set the project contents:
    1. Under Contents, select Create project from existing source.
    2. Click the Browse button and navigate to the CTAT Projects directory (e.g., Cognitive Tutor Authoring Tools\Projects).
    3. Click OK.
  8. Click Finish.
  9. If asked if you want to switch to the Java perspective, click No.

3. Verify that the Eclipse Jess editor plugin is working

  1. In Eclipse's Package Explorer, expand a cognitive tutor package such as AdditionTutorChaining. A Jess icon should appear next to the Jess files,, and wmeTypes.clp.
  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) and examine the items in the Open With menu. Jess Editor should appear at the top of the list. Select it if it's present; if not, quit Eclipse and try running the plugin installer again. Note that Eclipse needs to be restarted for plugin changes to take effect.