summaryrefslogtreecommitdiff
path: root/java/build.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
commitf70bfd2d030d1d86be06266df36c5a60abbb4795 (patch)
treeeeb967bfb9de7ffb64f620fa54cc5eae45c9aa7f /java/build.xml
parent4f8190be35857dec2e6e159896bbbe06e7eb3954 (diff)
downloadqpid-python-f70bfd2d030d1d86be06266df36c5a60abbb4795.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/qpid@998152 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/build.xml')
-rw-r--r--java/build.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/java/build.xml b/java/build.xml
index 65fc78a0cb..2d556ea251 100644
--- a/java/build.xml
+++ b/java/build.xml
@@ -250,4 +250,26 @@
</jython>
</target>
+ <target name="findbugs" depends="build">
+
+ <mkdir dir="${build.findbugs}"/>
+
+ <findbugs home="${findbugs.dir}"
+ output="html"
+ outputFile="${build.findbugs}/report.html"
+ stylesheet="fancy-hist.xsl"
+ projectName="Qpid">
+ <auxAnalyzePath>
+ <fileset dir="${build.lib}" includes="qpid*.jar" excludes="*test*.jar *junit*.jar *example*.jar qpid-all.jar"/>
+ </auxAnalyzePath>
+ <auxClassPath>
+ <fileset dir="${build.lib}" includes="**/*.jar" />
+ <fileset dir="${basedir}/lib" includes="org.eclipse*.jar com.ibm.*.jar"/>
+ </auxClassPath>
+ <sourcePath>
+ <fileset dir="${basedir}" includes="**/src/**/org/.." />
+ </sourcePath>
+ </findbugs>
+ </target>
+
</project>