History Module

From CLAWSWiki

Jump to: navigation, search

The history module is made of java and runs inside of CAT.

The filter history.xml is run like a module, in that the document is used as the input, and the transformation result is used as the output of the module (rather than, say, being passed to a SOAP module).

The history.jar is installed under tomcat/common/lib rather than being part of the cat war. This allows it to be upgraded separately and maintain its own version and so on. Unfortunately after updating it (via simply copy of the new version to that location) tomcat must be restarted.

Building

Use the standard eclipse builder and export as a jar named history.jar

Installation

Copy to tomcat/common/lib and restart tomcat

Debugging

You must open both the Cat project and the History project, and set them both as source projects in your remote debug configuration. This way eclipse knows where to find the source code to show you. Once you are set up for remote debugging and connected simply use the debugger as normal.