logo       

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

java.findbugs.general

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

This is a multi-part message in MIME format.

Jason, thanks for your response.  That looks like about what I was thinking I needed to do.  Thanks for providing your Ant snippet, that helps a lot.

 


From: jasonab@xxxxxxxxx [mailto:jasonab@xxxxxxxxx] On Behalf Of Jason Bennett
Sent: Friday, December 01, 2006 2:04 PM
To: Bryan Dotzour
Cc: findbugs-discuss@xxxxxxxxxxxxxxxxxx
Subject: Re: [FB-Discuss] Changing XSL file used by findbugs ant task

 

Don't worry, Bryan, there are plenty of us unrepentant ant users out here. Here's my ant task:

 <target name="findbugs">
    <taskdef name="findbugs"
             classname="edu.umd.cs.findbugs.anttask.FindBugsTask "
    />
    <!-- FindBugs isn't designed to be run in ant (although it has a task),
     so you have to actually install it to get it to run. -->
    <findbugs home="/findbugs"
              output="xml:withMessages"
              outputFile="${artifactsDir}/findbugs_report.xml"
              effort="max"
              reportLevel="low"
              excludeFilter="${basedir}/build/lisfilter.xml"
              jvmargs="-Xmx640m"
    >
      <sourcePath path="${src}" />
      <class location="${webdir}/classes/" />
      <auxclasspath refid="build.classpath " />
    </findbugs>
    <style in="${artifactsDir}/findbugs_report.xml"
           out="${artifactsDir}/findbugs_report.html"
           style="/findbugs/src/xsl/fancy.xsl"
    />
  </target>

On 12/1/06, Bryan Dotzour <BDotzour@xxxxxxxxx> wrote:

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.


--
Jason Bennett, jasonab@xxxxxxx
E pur si muove!
Get Firefox! - http://getfirefox.com



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

News | FAQ | advertise