Clover 2.0 Upgrade Guide for Ant
We've taken care to make the upgrade to Clover 2.0 straightforward.
If you are using Clover 1.x with Ant, follow these simple steps to upgrade to Clover 2.0:
1. Replace 1.x clover.jar with the 2.x clover.jar
You can do this by simply copying the new jar over the top of the old one.
2. Obtain and install a Clover 2.x license
Output similar to the following will appear when Clover is run:
[clover] Clover Version 2.X, built on ...
[clover] Loaded from: c:/ant/lib/clover.jar
3. Delete any existing Coverage database
The Clover database is created at the location specified in the initstring attribute of <clover-setup>.
 | Note In Clover 2, the initstring parameter is now optional. We recommend leaving it unspecified unless you want to explicitly control where Clover writes its database file. |
Please also read the Best practices for Ant integration.