summaryrefslogtreecommitdiff
path: root/qpid/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
commitc72dffa16c4af41f6565bd926907124ba3b687d3 (patch)
tree3c011e27d65cf5650815724918a7318cf256ba6e /qpid/java/common.xml
parentc9a6d40068cca80ad37b9021e1f637ae5f94b206 (diff)
downloadqpid-python-c72dffa16c4af41f6565bd926907124ba3b687d3.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@1001951 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common.xml')
-rw-r--r--qpid/java/common.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/qpid/java/common.xml b/qpid/java/common.xml
index 67b0714a4a..3ebf07a210 100644
--- a/qpid/java/common.xml
+++ b/qpid/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>