Findbugs Ant task example


/ Published in: XML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask"/>
  2. <property name="findbugs.home" value="the find bugs home path" />
  3.  
  4. <target name="findbugs">
  5. <findbugs home="${findbugs.home}"
  6. output="html" outputFile="findbugs.html" jvmargs="-Xms512M -Xmx512M ">
  7. <sourcePath path="${basedir}/app" />
  8. <class location="${basedir}/app" />
  9. </findbugs>
  10. </target>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.