Maven Compiler Plugin
  1. Maven Compiler Plugin
  2. MCOMPILER-140

Compiler error messages do not contain drive letter on windows

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1, 2.2, 2.3, 2.3.1, 2.3.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Maven 2.2.1, Windows

      Description

      See original bug request: http://youtrack.jetbrains.net/issue/IDEA-59521

      User description:
      I tried it with a toy project and it worked as you say. The errors in the console for the toy project had the complete path in the error:
      [INFO] Compilation failure

      C:\projects\java\eclipseOnly\WidgetCore\src\main\java\com\acme\core\CoreClass.java:[6,8] not a statement

      C:\projects\java\eclipseOnly\WidgetCore\src\main\java\com\acme\core\CoreClass.java:[6,14] ';' expected

      In my non-toy project where I'm seeing the error, the C: is not there.

      [ERROR] COMPILATION ERROR :
      [INFO]
      [ERROR] \projects\java\eclipseproj\MyProj\unittests\com\acme\messaging\configuration\ConfigurationTest.java:[12,8] not a statement

      [ERROR] \projects\java\eclipseproj\MyProj\unittests\com\acme\messaging\configuration\ConfigurationTest.java:[12,14] ';' expected

      1. MCOMPILER-140.diff
        3 kB
        Jesse Glick
      2. WidgetCore.zip
        13 kB
        Anton Makeev

        Issue Links

          Activity

          Anton Makeev created issue -
          Jesse Glick made changes -
          Field Original Value New Value
          Link This issue relates to PLXCOMP-87 [ PLXCOMP-87 ]
          Jesse Glick made changes -
          Attachment MCOMPILER-140.diff [ 54539 ]
          Kristian Rosenvold made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Kristian Rosenvold [ krosenvold ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 09:20:51 UTC 2015 [ 1428225651644 ]
          Mark Thomas made changes -
          Workflow jira [ 12718650 ] Default workflow, editable Closed status [ 12750013 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 22:48:53 UTC 2015 [ 1428274133206 ]
          Mark Thomas made changes -
          Workflow jira [ 12956029 ] Default workflow, editable Closed status [ 12993088 ]
          Vladimir Sosnin made changes -
          Link This issue is cloned by MCOMPILER-250 [ MCOMPILER-250 ]

            People

            • Assignee:
              Kristian Rosenvold
              Reporter:
              Anton Makeev
            • Votes:
              5 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development