I added the cobertura tags in our existing build file, made few changes in the build file and ran it. Well it did generate the reports but with Zero Percertage Coverage. Can any one help me out with my build file.
<target name="test" depends="junit,junitreport,coverage" description="Runs unit tests and creates a report" />
<!-- Modified for coverage reports --> <target name="coverage" depends="cover-test, coverage-report-html" description="Compile, instrument ourself, run the tests and generate JUnit and coverage reports."/>
<target name="coverage-report"> <Generate an XML file containing the coverage data using the "srcdir" attribute. > <cobertura-report srcdir="${src.dir}" destdir="${coverage.xml.dir}" format="xml" /> </target-->