Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-140

Compiler error messages do not contain drive letter on windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1, 2.2, 2.3, 2.3.1, 2.3.2
    • None
    • None
    • 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

      Attachments

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

        Issue Links

          Activity

            People

              krosenvold Kristian Rosenvold
              amakeev Anton Makeev
              Votes:
              5 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: