aboutsummaryrefslogtreecommitdiffstats
path: root/etc/targets/global-cobertura.xml
diff options
context:
space:
mode:
authorShevek <[email protected]>2008-03-21 23:05:04 +0000
committerShevek <[email protected]>2008-03-21 23:05:04 +0000
commit5ff55648127c8a8e1b9829775045af986e37647c (patch)
treeb28209b1efe12824fbdcabd4ee9073e93ca30636 /etc/targets/global-cobertura.xml
parentfca34200881fcaf7b84b4210f7a5f40c8925c4d1 (diff)
move stuff into trunk
Diffstat (limited to 'etc/targets/global-cobertura.xml')
-rw-r--r--etc/targets/global-cobertura.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/etc/targets/global-cobertura.xml b/etc/targets/global-cobertura.xml
new file mode 100644
index 0000000..425a9fd
--- /dev/null
+++ b/etc/targets/global-cobertura.xml
@@ -0,0 +1,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>