[jboss-cvs] JBoss Messaging SVN: r5206 - trunk.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Oct 29 12:52:07 EDT 2008
Author: ataylor
Date: 2008-10-29 12:52:07 -0400 (Wed, 29 Oct 2008)
New Revision: 5206
Modified:
trunk/build-messaging.xml
trunk/build.xml
Log:
added findbugs support
Modified: trunk/build-messaging.xml
===================================================================
--- trunk/build-messaging.xml 2008-10-29 16:06:52 UTC (rev 5205)
+++ trunk/build-messaging.xml 2008-10-29 16:52:07 UTC (rev 5206)
@@ -211,6 +211,20 @@
<path refid="easymock.easymock.classpath" />
</path>
+ <path id="findbugs.classpath">
+ <path refid="core.compilation.classpath"/>
+ <path refid="jms.compilation.classpath"/>
+ <path location="${build.jars.dir}/jboss-${module.name}.jar"/>
+ <path refid="junit.junit.classpath"/>
+ <path refid="jboss.profiler.jvmti.classpath"/>
+ <path refid="jboss.test14.classpath"/>
+ <path refid="jboss.jboss.retro.classpath"/>
+ <path refid="easymock.easymock.classpath" />
+ <path refid="slf4j.api.classpath"/>
+ <path refid="slf4j.log4j.classpath"/>
+ <path refid="jboss.jbossxb.classpath"/>
+ </path>
+
<path id="unit.test.execution.classpath">
<pathelement location="${test.dir}/config"/>
<pathelement location="${test.dir}/tmpfiles"/>
@@ -946,6 +960,17 @@
</java>
</target>
+ <target name="findbugs" depends="jar">
+ <taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask"/>
+ <findbugs home="${findbugs.home}"
+ output="html"
+ outputFile="bugs.html" >
+ <auxClasspath refid="findbugs.classpath"/>
+ <sourcePath path="${src.main.dir}" />
+ <class location="${build.jars.dir}/jboss-${module.name}.jar" />
+ </findbugs>
+
+ </target>
<!-- Examples -->
<target name="queueExample" depends="client-jar">
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2008-10-29 16:06:52 UTC (rev 5205)
+++ trunk/build.xml 2008-10-29 16:52:07 UTC (rev 5206)
@@ -182,6 +182,9 @@
<ant antfile="build-messaging.xml" target="debugServer"/>
</target>
+ <target name="findbugs" depends="createthirdparty">
+ <ant antfile="build-messaging.xml" target="findbugs"/>
+ </target>
<!--example targets-->
<target name="queueExample" depends="createthirdparty">
<ant antfile="build-messaging.xml" target="queueExample"/>
More information about the jboss-cvs-commits
mailing list