Warnings not detected when file path does not appear after [WARNING]

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: warnings-plugin
    • Environment:
      ubuntu, java 1.7.0_02, tomcat7, jenkins 1.447, warnings plugin v3.26, maven-compiler-plugin v2.3.2

      When compiling a Java project using the javac compiler, most of the warnings in my console log appear as follows:

      [WARNING]     BasicTableInfo
      /absolute/path/to/source/File.java:[143,66] [unchecked] unchecked conversion
      

      and are thus not picked up by the warnings plugin.

      When there is no additional token before the source file path, such as in the following warning:

      [WARNING] /absolute/path/to/source/File.java:[181,69] [unchecked] unchecked cast
      

      then the warning is correctly picked up by the warnings plugin.

      Btw: Coloring in the console log has the same "bug": when the path appears as the first token (after [WARNING]), then the path and the next token (warning category) are highlighted in dark-yellow. When there is an additional token before the path, only that additional token is highlighted in dark-yellow (not the path and subsequent tokens).

            Assignee:
            Ulli Hafner
            Reporter:
            Stefan Thurnherr
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: