diff options
| author | Aidan Skinner <aidan@apache.org> | 2008-09-12 10:19:00 +0000 |
|---|---|---|
| committer | Aidan Skinner <aidan@apache.org> | 2008-09-12 10:19:00 +0000 |
| commit | ad8e400b786c5868d4e0d2aa880625240e44e311 (patch) | |
| tree | 975e875260420c175c95df46dff544259f9bf7ae /java/common.xml | |
| parent | 31decfc54f35cbd5d1e6bbc2d56cf76165904f7f (diff) | |
| download | qpid-python-ad8e400b786c5868d4e0d2aa880625240e44e311.tar.gz | |
QPID-1282: Add targets for cobertura coverage reporting.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@694671 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/common.xml')
| -rw-r--r-- | java/common.xml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/java/common.xml b/java/common.xml index 2c9d74fcc1..b169e4942c 100644 --- a/java/common.xml +++ b/java/common.xml @@ -38,8 +38,8 @@ <property name="build.release.prepare" location="${build.release}/prepare"/> <property name="build.data" location="${build}/data"/> <property name="build.plugins" location="${build}/lib/plugins"/> - - + <property name="build.coveragereport" location="${build}/coverage"/> + <property name="java.target" value="1.5"/> <property name="java.source" value="1.5"/> @@ -51,6 +51,17 @@ <property name="javac.compiler.args" value=""/> + <property name="cobertura.dir" value="${project.root}/lib/cobertura" /> + + <path id="cobertura.classpath"> + <fileset dir="${cobertura.dir}"> + <include name="cobertura.jar" /> + <include name="lib/**/*.jar" /> + </fileset> + </path> + + <taskdef classpathref="cobertura.classpath" resource="tasks.properties" /> + <macrodef name="indirect"> <attribute name="name"/> <attribute name="variable"/> |
