-
Bug
-
Resolution: Incomplete
-
Major
-
None
-
Platform: All, OS: Linux
In the FindBugs report, the line number of code is always displayed -1.
See attachment...
The ant-tak (http://findbugs.sourceforge.net/manual/anttask.html) used to generate xml is:
<property name="findbugs.home" value="/hudson/code-quality/findbugs-1.3.8" />
<taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="${findbugs.home}/lib/findbugs-ant.jar"/>
<property environment="env" />
<findbugs home="${findbugs.home}" output="xml" quietErrors="true" outputFile="${env.WORKSPACE}/SVN/Projeto/findbugs.xml" >
<sourcePath path="${env.WORKSPACE}/SVN/Projeto/src" />
<class location="${env.WORKSPACE}/SVN/Projeto/classes"/>
</findbugs>