Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1718

Test coverage target in build files using clover

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.15.0
    • build
    • None

    Description

      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

      Attachments

        1. hadoop_clover2.patch
          3 kB
          Nigel Daley
        2. hadoop_clover2.patch
          3 kB
          Nigel Daley

        Activity

          People

            nidaley Nigel Daley
            nidaley Nigel Daley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: