Using Clover with Eclipse + Ant

austen joe February 5, 2012

Hi,

I am trying to learn to use Clover, using eclipse and build using ant.

I use junit to test the code. I am able to generate reports in eclipse but I am having trouble getting eclipse to work with an ant build.xml.

The documentation that Atlassian provides is not very helpful. found here:

http://confluence.atlassian.com/display/CLOVER/Launching+an+Ant+build+from+Eclipse

my goal is to have ant run my unit test and output the results into a ant generated html report.

could someone help me out by giving an example build.xml?

1 answer

1 accepted

0 votes
Answer accepted
Marek Parfianowicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 10, 2012

The fastest way is to follow steps from CLOVER/Clover-for-Ant+Two+Line+Integration

You can find also a sample application in /tutorial directory inside clover-ant-X.Y.Z.zip file, which you can get from download page.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events