You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jesse Glick (JIRA)" <ji...@codehaus.org> on 2011/04/05 17:16:22 UTC
[jira] Updated: (MCOMPILER-140) Compiler error messages do not
contain drive letter on windows
[ http://jira.codehaus.org/browse/MCOMPILER-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesse Glick updated MCOMPILER-140:
----------------------------------
Attachment: MCOMPILER-140.diff
Patch incl. unit test which seems to fix the issue. Confirmed by building patched version of {{plexus-compiler-javac}}, including that as a dep in {{maven-compiler-plugin}}, and requesting the patched plugin in a Maven project on which http://netbeans.org/bugzilla/show_bug.cgi?id=197381 could previously be reproduced.
> Compiler error messages do not contain drive letter on windows
> ---------------------------------------------------------------
>
> Key: MCOMPILER-140
> URL: http://jira.codehaus.org/browse/MCOMPILER-140
> Project: Maven 2.x Compiler Plugin
> Issue Type: Bug
> Affects Versions: 2.1, 2.2, 2.3, 2.3.1, 2.3.2
> Environment: Maven 2.2.1, Windows
> Reporter: Anton Makeev
> Attachments: MCOMPILER-140.diff, WidgetCore.zip
>
>
> 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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira