-
Notifications
You must be signed in to change notification settings - Fork 629
Closed
Description
We use stylesheet="fancy-hist.xsl"
to generate our SpotBugs reports in our CI/CD pipeline, which builds using ant. Our build.xml
has the following:
<taskdef
resource="edu/umd/cs/findbugs/anttask/tasks.properties"
classpath="${spotbugs.home}/lib/spotbugs-ant.jar"/>
<target name="spotbugs">
<spotbugs home="${spotbugs.home}"
output="html"
outputFile="${dist.dir}/spotbugs.html"
stylesheet="fancy-hist.xsl" >
<auxclasspath path="${basedir}/../libs" />
<sourcePath path="${basedir}/src/java" />
<class location="${build.web.dir}/WEB-INF/classes" />
</spotbugs>
</target>
This all worked for us just fine with SpotBugs 4.8.3. After upgrading to 4.8.4, however, the SpotBugs report generated by the same exact build.xml
is clearly not using fancy-hist.xml
. And, yes, spotbugs.home
is defined properly in project.properties
(which hasn't changed) and we are using the spotbugs-ant.jar
from the 4.8.4 release.
Any idea as to what the problem is or what the solution might be? Thanks!
Metadata
Metadata
Assignees
Labels
No labels