0

How do I setup an Ant task to generate a Findbugs report when the source folder has many jars in it?

I'm looking for a worked example of the ant task required to output the fancy HTML from a folder containing multiple jars

4

2 回答 2

1

FindBugs Ant 目标以生成 XML 格式的报告,然后通过标准Ant XSLT 目标应用您的 FindBugs 安装附带的一种 XSLT 转换。

于 2008-11-26T11:01:17.580 回答
1

该线程已有 2 年历史,但也许有人会发现它很有用:

你可以轻松做到:

<class location="${src.dir}/test.jar" /> 
<class location="${src.dir2}/test2.jar" />

假设您有 2 个源路径,您应该在之前定义它们:

<sourcePath path="first source path" />
<sourcePath path="second source path" />
于 2010-07-21T08:07:12.120 回答