Author: mickael_istria
Date: 2012-08-14 11:12:21 -0400 (Tue, 14 Aug 2012)
New Revision: 43027
Added:
trunk/build/jacoco/
trunk/build/jacoco/jacoco-reports.xml
trunk/build/jacoco/jacocoant.jar
Log:
JBIDE-10537: Added script to generate Jacoco reports from component
Added: trunk/build/jacoco/jacoco-reports.xml
===================================================================
--- trunk/build/jacoco/jacoco-reports.xml (rev 0)
+++ trunk/build/jacoco/jacoco-reports.xml 2012-08-14 15:12:21 UTC (rev 43027)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="jacoco-reports" default="reports">
+
+ <taskdef name="report" classname="org.jacoco.ant.ReportTask">
+ <classpath path="${basedir}/jacocoant.jar" />
+ </taskdef>
+
+ <!-- =================================
+ target: default
+ ================================= -->
+ <target name="reports">
+ <report>
+ <executiondata>
+ <fileset dir="${user.dir}/target">
+ <include name="*.exec" />
+ </fileset>
+ </executiondata>
+ <structure name="JaCoCo-Multi Project">
+ <group name="JaCoCo-Multi">
+ <classfiles>
+ <dirset dir="${user.dir}/plugins" >
+ <include name="*/target/classes"/>
+ </dirset>
+ <dirset dir="${user.dir}/tests" >
+ <include name="*/target/classes"/>
+ </dirset>
+ </classfiles>
+ <sourcefiles encoding="UTF-8">
+ <dirset dir="${user.dir}/plugins" >
+ <include name="*/src*"/>
+ </dirset>
+ <dirset dir="${user.dir}/tests" >
+ <include name="*/src*"/>
+ </dirset>
+ </sourcefiles>
+ </group>
+ </structure>
+ <html destdir="${user.dir}/target/coverage-report/html" />
+ <xml destfile="${user.dir}/target/coverage-report/coverage-report.xml"
/>
+ <csv destfile="${user.dir}/target/coverage-report/coverage-report.csv"
/>
+ </report>
+ </target>
+</project>
Property changes on: trunk/build/jacoco/jacoco-reports.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/build/jacoco/jacocoant.jar
===================================================================
(Binary files differ)
Property changes on: trunk/build/jacoco/jacocoant.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Show replies by date