ResourceChangeListener problems [message #250106] |
Sun, 09 December 2007 05:29 |
Eclipse User |
|
|
|
Originally posted by: tschappi.web.de
I have implemented a ResourceChangeListener and i want to create new
resources automatically if you create a new file with an certain file
extension.
But when i'm trying to do this in the visit-method of
ResourceDeltaVisitor i get following error:
"The resource tree is locked for modifications"
Upon some reading i know that it isn't allowed, to modify the resource
tree during a POST_CHANGE notification.
But how can i solve this problem ?
Do i need threads or project builder ?
I have read the eclipse article: "How You've Changed!
Responding to resource changes in the Eclipse workspace",
but i found no concrete solution for my problem. :(
Cheers!
Silvio
|
|
|
Powered by
FUDForum. Page generated in 0.02672 seconds