Bug 111293 - Editor should run annotation processors and display their messages
Editor should run annotation processors and display their messages
Status: RESOLVED FIXED
Product: java
Classification: Unclassified
Component: Editor
6.x
All All
: P3 with 2 votes (vote)
: 6.x
Assigned To: Jan Lahoda
issues@java
:
Depends on: 181432
Blocks: 111065
  Show dependency treegraph
 
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
:


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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo