Using CCAudits in Eclipse

You can set up an Ant Build using CCAudits in the Eclipse environment:

Follow the steps to set up an Ant Build, which enables build auditing in the Eclipse environment:

  1. In Eclipse, select the Run > External Tools > External tools menu option.
  2. In the Configurations list box, double-click Ant Build.
  3. In the Main tab, type -listener CCAudits in the Arguments field.
  4. In the Classpath tab, select User Entries and click Add External JARs.
  5. In the Jar Selection window, navigate to the directory containing the CCAudits.jar file (for more information, see Prerequisites), select CCAudits.jar, and click Open to add it to the Classpath field.

It might be useful to set up a cleartool catcr as an external tool. To accomplish this, take the following steps:

  1. In Eclipse, select the Run > External Tools > External tools menu option.
  2. In the Configurations list box, double-click Program.
  3. In the Main tab, specify the location of the cleartool executable in the Location field.
  4. Add catcr -r ${workspace_loc}${resource_path} in the Arguments field.