blob: 425a9fd097d3f2a6c11609d3b8f97c676114ee68 (
plain)
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
|
<?xml version="1.0" encoding="UTF-8"?>
<project name="global-cobertura" basedir=".">
<target name="global-cobertura-instrument" depends="global-taskdefs"
unless="test.no.cobertura">
<delete dir="${global.dir.build.cobertura}" />
<mkdir dir="${global.dir.build.cobertura}" />
<cobertura-instrument
todir="${global.dir.build.cobertura}"
datafile="${global.dir.build.cobertura}/cobertura.ser">
<fileset dir="${global.dir.build.classes}">
<include name="**/*.class" />
<exclude name="**/Main.class" />
<exclude name="**/cmd/**" />
<exclude name="**/soap/port/*/*PortSoapBindingStub.class" />
<exclude name="**/soap/port/*/*PortServiceLocator.class" />
<exclude name="**/soap/port/*/*PortService.class" />
</fileset>
</cobertura-instrument>
</target>
<target name="global-cobertura-report" depends="global-taskdefs"
unless="test.no.cobertura">
<cobertura-report
format="html"
datafile="${global.dir.build.cobertura}/cobertura.ser"
destdir="${global.dir.build.reports}/cobertura"
srcdir="${global.dir.build.java}" />
</target>
</project>
|