Clover Documentation

Clover 3.1 Documentation
Clover 3.0 Documentation
Clover 2.6 Documentation
More...

Clover Knowledge Base Resources

Skip to end of metadata
Go to start of metadata

Symptoms

Running the following ANT command, example only:

Builds the project successfully where classes are compiled as expected. However, the classes are not instrumented.

Cause

This is due to a compiler attribute is defined within the <javac/> task. For example:

However a compiler should not be specified here as outlined in the following documentation:

Resolution

Remove the compiler attribute from the <javac/> task and define the compiler using the clovercompile attribute within the <clover-setup> task.

Labels
  • None