When to add resource markers? [message #489623] |
Mon, 05 October 2009 07:48  |
Eclipse User |
|
|
|
Hi there,
I have a project model that I want to check for errors as soon as there
are changes. But adding the marker to the IProject leads to a problem:
1. inside the ResourceChangeEvent the workspace is locked and therefore
the markers cannot be created
2. Outside the event handling I can add markers but this causes a new
ResourceChangeEvent (which in turn forces the project check and so on)
So how (and when!) am I supposed to add a marker to a project? Do I need
to make the resource change event handling more fine grained (to not
react on marker creation)?
regards
Christoph
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.27493 seconds