General instructions

We've taken care to make upgrading Clover straightforward. Follow these simple steps to upgrade Clover-for-Ant:

1. Replace your existing clover.jar with the new clover.jar
You can do this by simply replacing the the old .jar file with the new .jar file.

 

2. Delete any existing Coverage database (optional)

Clover's database format may change in newer versions. In such case you'll get a build error with a message informing about database incompatibility. In such case you have to delete old database files. The Clover database is created at the location specified in the initstring attribute of <clover-setup>.

(lightbulb) It's quite common to have Clover-for-Ant configured in such way that database files are removed on every 'ant clean' call; thanks to this incompatible databases can be removed automatically.

Upgrading from specific releases

Please see the Clover Release Notes.