No Line Numbers Are Displayed In Our Error Reports.

XMLWordPrintable

    • Type: Defect
    • Resolution: Done
    • Priority: Blocker
    • 1.1.0
    • Affects Version/s: 1.0.0
    • Component/s: Distribution Packaging
    • None

      We are not getting line numbers in our Error Report emails. Which leads to difficulties in figuring our where errors are actually occurring.

      The cause of our line numbers not being displayed is from our core-tasks.ant.xml.

      Our core-tasks.ant.xml doesn't set the proper debug levels on the javac target.

      Here is what our javac command looks like:
      <javac srcdir="${build.src.java}" destdir="${build.dir.target.classes}" source="1.5" >
      <classpath refid="classpath.build" />
      </javac>


      Then here is what the ant javac documentation says about the debuglevel attribute:
      "... If debuglevel is not specified, by default, nothing will be appended to -g. If debug is not turned on, this attribute will be ignored. "

      See the following link for all the documentation on javac:
      http://ant.apache.org/manual/CoreTasks/javac.html


      We need to add both the debug and debuglevel attributes to the javac task.

              Assignee:
              Nathan Hook
              Reporter:
              Nathan Hook
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: