Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » CompilationParticipant and Markers in Problems View
CompilationParticipant and Markers in Problems View [message #1064210] Tue, 18 June 2013 09:28 Go to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

i have a question on the useage of CompilationParticipant

if have implemented an implementation of CompilationParticipant
and implemented reconcile(ReconcileContext) to add custom
problem markers.

this works fine in the editor, but the problem do not appear
in the Problems View.

What could be the reason for that?


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: CompilationParticipant and Markers in Problems View [message #1064225 is a reply to message #1064210] Tue, 18 June 2013 10:31 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
That's expected, the reconciler only works for the editor (to provide markers even for unsaved changes).
The Problems View is populated by the the builder (which also creates the .class files).

You probably want your participant to also work during one of the build* methods.
HTH,
Stephan
Re: CompilationParticipant and Markers in Problems View [message #1064246 is a reply to message #1064225] Tue, 18 June 2013 11:52 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

so there is no hook with an ast already built that i can use for doing some analysis?


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: CompilationParticipant and Markers in Problems View [message #1064248 is a reply to message #1064246] Tue, 18 June 2013 12:02 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
Hi Christian,

I don't know about any such hook. The builder doesn't create a DOM AST because it works entirely on the private compiler AST.
Creating DOM AST must be explicitly requested (and reconcile creates AST only for files open in an editor I think).

best,
Stephan
Previous Topic:How to fix updates
Next Topic:Export Eclipse product
Goto Forum:
  


Current Time: Thu Apr 25 14:31:04 GMT 2024

Powered by FUDForum. Page generated in 0.02921 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top