-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.xml
45 lines (45 loc) · 2.3 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!--
Ant buildfile for generating JaCoCo HTML reports from JaCoCo execution files.
This is used automatically from Maven if you run the TS with -Pjacoco profile.
-->
<project xmlns:jacoco="antlib:org.jacoco.ant" name="JaCoCo Report - EJB Multi Server Test Suite">
<taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml">
<classpath path="jacoco/jacocoant.jar"/>
</taskdef>
<property name="report.target.dir" location="target/jacoco/"/>
<target name="report">
<jacoco:report>
<executiondata>
<file file="target/jacoco-node1.exec"/>
<file file="target/jacoco-node2.exec"/>
<file file="target/jacoco-cluster1-node1.exec"/>
<file file="target/jacoco-cluster1-node2.exec"/>
<file file="target/jacoco-cluster2-node1.exec"/>
<file file="target/jacoco-cluster2-node2.exec"/>
</executiondata>
<structure name="JaCoCo Test Coverage Report - EJB Multi Server Test Suite">
<classfiles>
<!-- path to modules directory of one server distribution (it does not matter which one) -->
<fileset dir="${modules.path}">
<!-- The files from server distro for which want code coverage report generated -->
<include name="**/wildfly-ejb3*.jar"/>
</fileset>
</classfiles>
<!-- source files, if available -->
<!--
<sourcefiles encoding="UTF-8">
<fileset dir="/path/to/jsr352/jberet-core/src/main/java">
<include name="**/*.java"/>
</fileset>
<fileset dir="/path/to/wf-git/batch/extension-jberet/src/main/java">
<include name="**/*.java"/>
</fileset>
</sourcefiles>
-->
</structure>
<html destdir="${report.target.dir}"/>
<csv destfile="${report.target.dir}/report.csv"/>
<xml destfile="${report.target.dir}/report.xml"/>
</jacoco:report>
</target>
</project>