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
commitb52612d5a3aaae459a65daf132974c560170ae1e (patch)
tree4aabdb30a5a4fbe2d03555494124ba3ab99f6cff /java/common.xml
parent3d9e8eb9a8ffa4272d9399dc8799c27b71ad2305 (diff)
downloadqpid-python-b52612d5a3aaae459a65daf132974c560170ae1e.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>