1<?xml version="1.0" encoding="UTF-8"?> 2<project xmlns:jacoco="antlib:org.jacoco.ant" 3 name="Report generation using jacocoant" default="generatereport"> 4 5 <taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml"> 6 <classpath> 7 <pathelement path="${jacocoant}" /> 8 </classpath> 9 </taskdef> 10 11 <target name="generatereport"> 12 13 <jacoco:report> 14 15 <executiondata> 16 ${execfileset} 17 </executiondata> 18 19 <structure name="Jacoco ant"> 20 <classfiles> 21 ${classfileset} 22 </classfiles> 23 </structure> 24 25 ${reportdestdirs} 26 27 </jacoco:report> 28 29 </target> 30 31</project> 32