Skip to content

Instantly share code, notes, and snippets.

@rynmrtn
Created August 6, 2010 18:33
Show Gist options
  • Save rynmrtn/511750 to your computer and use it in GitHub Desktop.
Save rynmrtn/511750 to your computer and use it in GitHub Desktop.
<property name="findbugs.home" value="${build.dir}/lib/findbugs-1.3.8" />
<target name="findbugs-html">
<echo message="Running a FindBugs HTML Report..." />
<taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" />
<findbugs home="${findbugs.home}" output="html" outputFile="${build.dir}/reports/findbugs/findBugs_report.html" jvmargs="-Xmx512M" reportLevel="low">
<sourcepath path="${project.src.dir}" />
<class location="${build.dir}/dist" />
</findbugs>
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment