I created the FindBugs report for anttask.
(Sample1)
But those file are not include JavaDoc ;-)
So I create FindBugs report include JavaDoc using JavaDoclet technology
(Sample2,Sample3(Solution)).
1st step: create the java source code.
/** * Hello world message */ public void hello() { System.out.println("hello world!"); }
Next step: write build.xml the following text. (For FindBugs)
<findbugs home="${findbugs.home}" jvmargs="-Duser.language=en" output="xml" outputFile="./target/findbugs/bcel-fb.xml" > <auxClasspath refid="common.classpath" /> <sourcePath path="./src/main/java" /> <class location="lib/UT5DocLet.jar" /> </findbugs>
Last step: write build.xml the following text. (For output report)
<delete dir="./target/ut5" /> <mkdir dir="./target/ut5" /> <javadoc destdir="./target/ut5" encoding="MS932" docencoding="MS932" additionalparam="-J-Dfile.encoding=MS932" charset="Shift_JIS"> <classpath refid="common.classpath" /> <packageset dir="src/main/java"> <include name="jp/**" /> </packageset> <doclet name="jp.ruru.park.ando.ut5.UT5Doclet" path="lib/UT5DocLet.jar"> <param name="-findbugs" value="target/findbugs/bcel-fb.xml" /> </doclet> </javadoc>