Test coverage target in build files using clover
------------------------------------------------

                 Key: HADOOP-1718
                 URL: https://issues.apache.org/jira/browse/HADOOP-1718
             Project: Hadoop
          Issue Type: Improvement
          Components: build
            Reporter: Nigel Daley


Moving Simon Willnauer clover patch from HADOOP-1496 to a new Jira.  From 1496:

Simon Willnauer - 27/Jun/07 12:18 PM
We have a donated clover license at the "private" repository.
It is located right here.
https://svn.apache.org/repos/private/committers/donated-licenses/clover/
You could have a look at the lucene ant files to include clover into the hadoop 
build managment.
The license is a "ant - only" license and can only be used on "org.apache.*" 
packages.

Simon Willnauer - 27/Jun/07 01:56 PM
Clover integration into Hadoop.
I added the clover report task to the build.xml.
We did that in the Lucene project a while ago and I had to do it for work 
anyway so I added the tasks to the hadoop project as well.
To generate the reports the clover.jar an clover.license from the "commiter" 
repository must be available on the ANT Path.
I had problems with the jar file located in the apache repository so I use the 
current version from the cenqua website (http://www.cenqua.com/download.jspa - 
clover for ant-1.3.13)
I created the reports running:
ant -Drun.clover=true clean test generate-clover-reports


-- 
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