New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stylesheet not working in 4.8.4? #2969
Comments
Maybe it can be because of #2915. Can you please share the |
I think the xsl is part of SpotBugs: https://github.com/spotbugs/spotbugs/blob/master/spotbugs/src/xsl/fancy-hist.xsl |
Yes, the I'm not seeing any error messages. Where would they be logged to in this scenario? |
My colleague additionally tested it with SpotBugs 4.8.2, and the stylesheet worked. Also tested 4.8.4 with 4.8.3 works with either of those two |
The changeset you mention should only affect the filepaths, although I did touch the stylesheet assignment so I can't exclude it with any degree of certainty. Judging by the syntax of the options, the code contributed with that changeset should be working as intended and not mess with the stylesheets, assuming generating an XML report I haven't checked the release yet, but unfortunately this seems like my changes are a more likely culprit than the filter XSD namespace changes... |
We use
stylesheet="fancy-hist.xsl"
to generate our SpotBugs reports in our CI/CD pipeline, which builds using ant. Ourbuild.xml
has the following: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 usingfancy-hist.xml
. And, yes,spotbugs.home
is defined properly inproject.properties
(which hasn't changed) and we are using thespotbugs-ant.jar
from the 4.8.4 release.Any idea as to what the problem is or what the solution might be? Thanks!
The text was updated successfully, but these errors were encountered: