This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 111293 - Editor should run annotation processors and display their messages
Summary: Editor should run annotation processors and display their messages
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 2 votes (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on: 181432
Blocks: 111065
  Show dependency tree
 
Reported: 2007-07-28 09:18 UTC by brucechapman
Modified: 2010-03-02 08:37 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brucechapman 2007-07-28 09:18:47 UTC
JSR-269 annotation processors can generate messages of various types, such as error messages which should be fed back to
the user.

See

http://java.sun.com/javase/6/docs/api/javax/annotation/processing/Messager.html

and 

http://java.sun.com/javase/6/docs/api/javax/tools/Diagnostic.Kind.html

Currently these messages are not displayed in the editor. They are displayed in the output window when a build is
performed, and there is a hyperlink from the associated line number to the editor, however it would be preferable if
these errors were displayed in the editor like other errors from javac.
Comment 1 Jan Lahoda 2007-07-29 19:16:58 UTC
While I would like to see better support of AnnotationProcessors in NetBeans, I think this is more an enhancement than a
defect.
Comment 2 Dusan Balek 2010-02-04 09:55:14 UTC
Implemented for j2se projects.

Changeset: http://hg.netbeans.org/main/rev/d59a1df3507f
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #111065: Support Annotation Processors in Java Editor added.