|
|
|
[
Permlink
| « Hide
]
Steve Luo [04/Apr/12 01:31 PM]
This is not a bug. The 'xml:withMessages' should be used for output attribute.
I can't reproduce this problem. Below is the snippet I used for ANT task:
<target name="findbugs" depends="junit, jar"> <taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="${findbugs.home}/lib/findbugs-ant.jar"/> <mkdir dir="${findbugs.report.dir}" /> <findbugs home="${findbugs.home}" output="xml:withMessages" timeout="90000000" reportLevel="experimental" workHard="true" effort="max" adjustExperimental="true" outputFile="${findbugs.report.dir}/findbugs.xml" jvmargs="-Xmx512m"> <auxClasspath path="${lib.dir}" /> <sourcePath path="${dir.src}/java" /> <class location="${dist.home}/${final.name}.jar" /> </findbugs> </target>
|