Author: ron.sigal(a)jboss.com
Date: 2010-02-15 23:43:08 -0500 (Mon, 15 Feb 2010)
New Revision: 5693
Modified:
remoting2/branches/2.2/build.xml
Log:
JBREM-1161: Added findbugs target.
Modified: remoting2/branches/2.2/build.xml
===================================================================
--- remoting2/branches/2.2/build.xml 2010-02-16 01:24:03 UTC (rev 5692)
+++ remoting2/branches/2.2/build.xml 2010-02-16 04:43:08 UTC (rev 5693)
@@ -3795,7 +3795,7 @@
<!-- Distribution Targets -->
<target name="dist"
depends="clean,most,tests,javadoc,docs.generate,dist.only"/>
- <target name="dist.quick"
depends="clean,most,dist.jars,javadoc,docs.generate,dist.only"/>
+ <target name="dist.quick"
depends="clean,most,dist.jars,javadoc,dist.only"/>
<target name="dist.only" depends="configure">
<delete dir="${dist.dir}"/>
@@ -3911,6 +3911,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>
Show replies by date