Clover Upgrade Guide for Ant
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. Obtain and install a Clover license
When you run Clover, output similar to the following will appear:
3. Delete any existing Coverage database
The Clover database is created at the location specified in the
initstring attribute of
Please also read the Clover for Ant Best Practices.
Clover-for-Ant Groovy Integration
If you already have Clover installed in an existing Java project, wish to integrate Groovy code into this project and use Clover-for-Ant's code coverage features on this code, simply follow the steps above to update your existing
clover.jar file. After doing this, conduct a full, clean build.