Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3842

FindBugs not show correct line number

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • findbugs-plugin
    • 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>

            drulli Ulli Hafner
            sberlotto sberlotto
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: