Patrick Hunt updated ZOOKEEPER-56:

    Attachment: ZOOKEEPER-56.patch

adds clover 2 support to build (clover1 didn't work as we use java5 features)

1) CLOVER_HOME must be set to home of licensed clover-ant version 2+
2) -Drun.clover=true must be set

CLOVER_HOME=/path/to/clover ant -Drun.clover=true test

run generate-clover-reports to generate reports

> Add clover support to build.xml
> -------------------------------
>                 Key: ZOOKEEPER-56
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-56
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: build
>            Reporter: Patrick Hunt
>            Assignee: Andrew Kornev
>             Fix For: 3.0.0
>         Attachments: ZOOKEEPER-56.patch
> Clover is what ASF uses for code coverage. We currently have cobertura, but 
> need to add support for clover (keep the existing cobertura support for 
> individual developers to use). Clover is run automatically by ASF Hudson.
> Hadoop has support for clover in their build.xml, port their clover related 
> targets into zookeeper build.xml

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to