maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Glick (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MCOMPILER-66) Compiler swallows messages from annotation processors
Date Tue, 14 Apr 2009 02:09:52 GMT

    [ http://jira.codehaus.org/browse/MCOMPILER-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=172842#action_172842
] 

Jesse Glick commented on MCOMPILER-66:
--------------------------------------

Possible cause in JavacCompiler.java:

                else if ( buffer.length() == 0 && line.startsWith( "Note: " ) )
                {
                    // skip this one - it is JDK 1.5 telling us that the interface is deprecated.
                }


> Compiler swallows messages from annotation processors
> -----------------------------------------------------
>
>                 Key: MCOMPILER-66
>                 URL: http://jira.codehaus.org/browse/MCOMPILER-66
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>            Reporter: Evan Cowden
>         Attachments: AnnotationProcessorMessagerBug.zip
>
>
> When using the annotation processor API to print messages through the javax.annotation.processing.Messager
object, only messagesspecified by levels javax.tools.Diagnostic.Kind.ERROR and javax.tools.Diagnostic.Kind.MANDATORY_WARNING
are displayed (and cause the build to fail).  All other messages are swallowed.
> Note that while the attached JUnit test case is necessary to help expose the problem,
passing it will not imply that the bug is fixed.  The only way to confirm the fix (that I
know of) is to examine console output.

-- 
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

        

Mime
View raw message