Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » ResourceChangeListener problems
ResourceChangeListener problems [message #250106] Sun, 09 December 2007 05:29
Eclipse UserFriend
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
Previous Topic:Javadoc problem with class version
Next Topic:Annotation Processor not run
Goto Forum:
  


Current Time: Fri Apr 18 10:25:52 EDT 2025

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

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

Back to the top