Author: ron.sigal(a)jboss.com
Date: 2010-02-15 23:59:51 -0500 (Mon, 15 Feb 2010)
New Revision: 5695
Modified:
remoting2/branches/2.x/build.xml
Log:
JBREM-1161: Added findbugs target.
Modified: remoting2/branches/2.x/build.xml
===================================================================
--- remoting2/branches/2.x/build.xml 2010-02-16 04:58:21 UTC (rev 5694)
+++ remoting2/branches/2.x/build.xml 2010-02-16 04:59:51 UTC (rev 5695)
@@ -4613,6 +4613,15 @@
<!--delete dir="${dist.dir}"/-->
</target>
+ <taskdef name="findbugs"
classname="edu.umd.cs.findbugs.anttask.FindBugsTask"/>
+
+ <target name="findbugs" depends="jars">
+ <findbugs home="${findbugs.home}" output="html"
outputFile="${output.dir}/findbugs.html" >
+ <class location="${output.lib.dir}/jboss-remoting.jar" />
+ <sourcePath path="${src.dir}" />
+ <auxClasspath refid="third_party.classpath"/>
+ </findbugs>
+ </target>
</project>