clover-clean


Added by Edwin Dawson [Atlassian], last edited by Edwin Dawson [Atlassian] on Jan 10, 2008

Labels:

clean clean Delete
database database Delete
task task Delete
ant ant Delete
clover-clean clover-clean Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
Clover 2.0 Documentation

Index

Description

The <clover-clean> task deletes the coverage database and associated coverage recording files.

Parameters

Attribute Description Required
initstring The initstring of the database to clean. No; if not specified here, Clover will use the default location (${basedir}/.clover). If you have specified an initstring on the <clover-setup> task, you must ensure that <clover-setup> is called prior to the execution of this task.
keepdb Controls whether to keep the coverage database file ("true"/"false"). If "false", the coverage database will be deleted. No; defaults to "true".
verbose Controls whether to show the name of each deleted file ("true"/"false"). No; defaults to "false".
haltOnError Controls whether an error (such as a failure to delete a file) stops the build or is merely reported to the screen ("true"/"false"). No; defaults to "false".

Examples

<clover-clean/>

Deletes all of the coverage recordings.

<clover-clean verbose="true"/>

Deletes all of the coverage recordings, printing out a log statement for each file deleted.

<clover-clean keepdb="false"/>

Deletes the coverage database and all of the coverage recordings.