diff options
| author | Robert Gemmell <robbie@apache.org> | 2011-04-05 09:26:19 +0000 |
|---|---|---|
| committer | Robert Gemmell <robbie@apache.org> | 2011-04-05 09:26:19 +0000 |
| commit | 73cc7e773a7186582293a48c8ea57ceb875ae7ca (patch) | |
| tree | 905a7d549716207ac2d6b418a0c46038674744ea /java | |
| parent | 8dd055b821d9897dce721b80a46b2b6db8296a80 (diff) | |
| download | qpid-python-73cc7e773a7186582293a48c8ea57ceb875ae7ca.tar.gz | |
QPID-3184: Amend ant build to produce cobertura coverage.xml
Applied patch from Andrew MacBean <andymacbean@gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1088934 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
| -rw-r--r-- | java/build.xml | 13 | ||||
| -rw-r--r-- | java/module.xml | 3 |
2 files changed, 12 insertions, 4 deletions
diff --git a/java/build.xml b/java/build.xml index 635e72bdd5..f9ed71d31d 100644 --- a/java/build.xml +++ b/java/build.xml @@ -217,7 +217,18 @@ <include name="**/*.ser"/> </fileset> </cobertura-merge> - <cobertura-report format="html" + <cobertura-report format="xml" + destdir="${build.coveragereport}" + datafile="${build.coveragereport}/cobertura.ser" + > + <fileset dir="${project.root}/common/src/main/java" includes="**/*.java" /> + <fileset dir="${project.root}/build/scratch/common/src" includes="**/*.java" /> + <fileset dir="${project.root}/broker/src/main/java" includes="**/*.java" /> + <fileset dir="${project.root}/build/scratch/broker/src" includes="**/*.java" /> + <fileset dir="${project.root}/client/src/main/java" includes="**/*.java" /> + <fileset dir="${project.root}/build/scratch/client/src" includes="**/*.java" /> + </cobertura-report> + <cobertura-report format="html" destdir="${build.coveragereport}" datafile="${build.coveragereport}/cobertura.ser" > diff --git a/java/module.xml b/java/module.xml index 6ff807d377..7ce9dca7e6 100644 --- a/java/module.xml +++ b/java/module.xml @@ -659,9 +659,6 @@ <fileset dir="${module.classes}"> <include name="**/*.class"/> </fileset> - <fileset dir="${module.test.classes}"> - <include name="**/*.class"/> - </fileset> </cobertura-instrument> </target> |
