summaryrefslogtreecommitdiff
path: root/qpid/java/common.xml
diff options
context:
space:
mode:
authorRobert Godfrey <rgodfrey@apache.org>2010-09-17 14:33:38 +0000
committerRobert Godfrey <rgodfrey@apache.org>2010-09-17 14:33:38 +0000
commit83ce16ac4f33a2910e11d796335770e819263433 (patch)
tree0e4a8803750e55707d281dd7c638ee9b6e041e6f /qpid/java/common.xml
parentb2248cf03878965fb26d117eed764fe38c3bc982 (diff)
downloadqpid-python-83ce16ac4f33a2910e11d796335770e819263433.tar.gz
QPID-2857 : Added findbugs task to the build to automate the procedure for finding potential issues
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@998152 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common.xml')
-rw-r--r--qpid/java/common.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/qpid/java/common.xml b/qpid/java/common.xml
index 40167ef1f5..67b0714a4a 100644
--- a/qpid/java/common.xml
+++ b/qpid/java/common.xml
@@ -43,6 +43,7 @@
<property name="build.data" location="${build.scratch}/data"/>
<property name="build.plugins" location="${build}/lib/plugins"/>
<property name="build.coveragereport" location="${build}/coverage"/>
+ <property name="build.findbugs" location="${build}/findbugs"/>
<property name="java.target" value="1.5"/>
<property name="java.source" value="1.5"/>
@@ -60,6 +61,7 @@
<property name="cobertura.dir" value="${project.root}/lib/cobertura" />
<property name="mllib.dir" value="${project.root}/../python" />
+ <property name="findbugs.dir" value="${project.root}/lib/findbugs" />
<path id="cobertura.classpath">
<fileset dir="${cobertura.dir}">
@@ -178,6 +180,8 @@
<taskdef classpathref="cobertura.classpath" resource="tasks.properties" />
</target>
+ <taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="${findbugs.dir}/findbugs-ant.jar"/>
+
<target name="help" description="display detailed build documentation">
<echo>
ant build