summaryrefslogtreecommitdiff
path: root/java/common.xml
diff options
context:
space:
mode:
authorRobert Gemmell <robbie@apache.org>2010-09-27 22:56:20 +0000
committerRobert Gemmell <robbie@apache.org>2010-09-27 22:56:20 +0000
commit7ab75f377b4b23444b4657f5ef415f1e2728fdc5 (patch)
tree4aabdb30a5a4fbe2d03555494124ba3ab99f6cff /java/common.xml
parent6e4dd4d67c93806504c0cb80066a85d96f6583f1 (diff)
downloadqpid-python-7ab75f377b4b23444b4657f5ef415f1e2728fdc5.tar.gz
QPID-2857: Remove the FindBugs binarys from the repository and add instructions on how to download and use it.
This is necessary because whilst its deps are fine, FindBugs itself is LGPL licenced. It also doesnt hurt to remove 15MB of optional binaries from the release. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1001951 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/common.xml')
-rw-r--r--java/common.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/java/common.xml b/java/common.xml
index 67b0714a4a..3ebf07a210 100644
--- a/java/common.xml
+++ b/java/common.xml
@@ -180,7 +180,12 @@
<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="findbugs-init">
+ <available file="${findbugs.dir}/findbugs-ant.jar" property="findbugs-ant.jar.present"/>
+ <fail unless="findbugs-ant.jar.present" message="Please follow the instructions at ${findbugs.dir}/README.txt to configure FindBugs"/>
+
+ <taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="${findbugs.dir}/findbugs-ant.jar"/>
+ </target>
<target name="help" description="display detailed build documentation">
<echo>