Example Eclipse Project

To create the ABLE example project for Eclipse, select New>Examples>ABLE>Example Project. It is suggested you retain the name AbleExample as the project name. After the project is created and populated, follow these steps:

  1. Go to the plugin.xml file and from the context menu select "PDE tools" and "Update classpath".
  2. Rebuild the project next if you have unchecked "Build Automically". If you have seen the message "java.lang.Object not found" this should remove it.
  3. You may still see the message "The import javax.servlet cannot be resolved" from the AbleWebActions class. You can ignore this if you are not interested in the web and template example. Otherwise add the j2ee.jar to the classpath by opening the plugin.xml file, tabbing to the page labelled 'Build', and include a path to the j2ee.jar file for your environment in the section named 'Extra classpath entries'. Repeat rebuilding the classpath and project.
  4. To use inner classes, add a jar from your JDK's JRE lib directory to the launch classpath. For Sun JDK, add rt.jar; for IBM, core.jar. Add the appropriate jar to the launch configuration on the 'Classpath' tab in the 'User Entries' folder as external jars.;
  5. Many of the example agents and rulesets depend on the contents of the example project. Go to "Window", "Preferences", "ABLE" and insure that the preferences point to the path you just created.

The example project includes sample source, rulesets, and data.