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

Log file shows

However the database is not created at this location.

The initstring is specified in clover-setup and this is called after the compile target.

Cause

The <clover-setup> task must be called before sources are instrumented and compiled. If with.clover (which contains the clover-setup task) is called after your target that compiles source, then the initistring will be set after the code as been instrumented, hence will have no affect (as the initstring is set within the code during instrumentation).

Resolution

Call "with.clover" target which contains the clover-setup before your compile target.

Labels
  • None