Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Builder and Resource change listener
Builder and Resource change listener [message #332558] Tue, 28 October 2008 18:04 Go to next message
Eclipse UserFriend
Hey,

I got a problem about builder and resource change listener. In our
plug-in, we have implemented a builder and a resource change listener. If
the the automatically build function is turned on, our plug-in seems to
get into a bad situation that user can not cancel the building process by
click the "Canacel" button. After investigation, I found there are two
things running parallely:
1. The building process. When our builder builds the workspace, it makes
some resource changes and they are caught by our resource change listener.
2. The resource change listener. When our resource change listener handles
those resource changes, it creates new resource changes.

When the "Cancel" button is clicked, the building process is stopped, but
the resource change listener is still running to handle the resource
changes and it also creates new resource changes which invoke the building
process again.

Any idea how can I handle this situation?

Thanks.
Re: Builder and Resource change listener [message #332606 is a reply to message #332558] Thu, 30 October 2008 20:51 Go to previous message
Eclipse UserFriend
Can anyone help? Thanks.
Previous Topic:projects located in the workspace folder must be direct sub folders of the works
Next Topic:How Server/Tomcat picks up the dynamic properties file in the WEB-INF/classes
Goto Forum:
  


Current Time: Tue Feb 18 14:30:23 GMT 2025

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

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

Back to the top