logo       

RE: Changing XSL file used by findbugs ant task: msg#00004

java.findbugs.general

Subject: RE: Changing XSL file used by findbugs ant task

Brian,

It's not documented in the manual, but the ant task accepts a parameter
named 'stylesheet' ('output' should be set to html).
(See anttask source code for an exhaustive list of parameters.)

You can also apply the stylesheet using the standard xsl task. This has the
advantage of generating the xml file that can be:
* loaded inthe GUI
* used for bug mining through versions

Cheers,
Etienne

> -----Original Message-----
> From: findbugs-discuss-bounces@xxxxxxxxxx
> [mailto:findbugs-discuss-bounces@xxxxxxxxxx] On Behalf Of
> Bryan Dotzour
> Sent: vendredi 1 décembre 2006 20:58
> To: findbugs-discuss@xxxxxxxxxxxxxxxxxx
> Subject: RE: [FB-Discuss] Changing XSL file used by findbugs ant task
>
> Looks like I stepped in to a den of Maven users! ;-) Given
> that I don't
> want to learn a whole new build management system (yet), does anyone
> have any other useful suggestions? Is the ant task supported any more
> or has the FindBugs community as a whole kind of just moved
> on to Maven?
>
> Thanks to you both for responding.
>
> -----Original Message-----
> From: findbugs-discuss-bounces@xxxxxxxxxx
> [mailto:findbugs-discuss-bounces@xxxxxxxxxx] On Behalf Of Jeff Jensen
> Sent: Friday, December 01, 2006 12:54 PM
> To: findbugs-discuss@xxxxxxxxxxxxxxxxxx
> Subject: Re: [FB-Discuss] Changing XSL file used by findbugs ant task
>
> "any suggestions..." - use Maven instead of ant. Built in reports and
> more...
>
> Quoting Bryan Dotzour <BDotzour@xxxxxxxxx>:
>
> > Just starting to work with the FindBugs ant task on our continuous
> > integration server and am loving it so far! I want HTML reports
> > generated so that developers can access them. I'm curious,
> is there a
> > way to specify which XSL script is going to get used by the Ant task
> > when I specify output="html"? Or do I need to do that myself by
> having
> > it generate XML and then do an XSLT from within Ant? I've seen some
> > syntax like "html:fancy.xsl" that would be very convenient
> in use for
> > the Ant task, but it doesn't seem like it works.
> >
> >
> >
> > Any suggestions are appreciated. Thanks.
> >
> >
>
>
>
> _______________________________________________
> Findbugs-discuss mailing list
> Findbugs-discuss@xxxxxxxxxxxxxxxxxx
> http://mailman.cs.umd.edu/mailman/listinfo/findbugs-discuss
>
> _______________________________________________
> Findbugs-discuss mailing list
> Findbugs-discuss@xxxxxxxxxxxxxxxxxx
> http://mailman.cs.umd.edu/mailman/listinfo/findbugs-discuss
>




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise