Audits of tasks and targets

CCAudits starts an HCL VersionVault audit for every target build in Ant.

The audit starts when the target build starts and it ends when the target build completes (after the last of the tasks of the target has run).

CCAudits starts a distinct, nested audit for some tasks by default which produces a configuration record that records the files that were accessed by those tasks. The default tasks for which CCAudits creates a nested audit are:

  • <java>
  • <javac>
  • <javah>
  • <ear>
  • <jar>
  • <war>

When a task has a nested audit, the files read by that task appear only in the configuration record associated with that task. The files written by that task are created as derived objects for the configuration record of that task. Those DOs appear as referenced derived objects, or sub-derived objects in the CR of the parent target.

For all other tasks, CCAudits allows the audit of the target to record file accesses in the CR of the target and the files written by those tasks are created as DOs for the CR of the target.

To customize the list of default tasks for which CCAudits creates a nested audit, see The build.xml file.