Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » refreshLocal for linked IFiles - no IResourceChangeEvent?
refreshLocal for linked IFiles - no IResourceChangeEvent? [message #313073] Wed, 28 February 2007 15:52 Go to next message
Eclipse UserFriend
Originally posted by: eddie.streambase.com

I seem to observe that a refreshLocal on an IFile or its parent IFolders
(using DEPTH_INFINITE), when said IFile is a linked resource (isLinked
==> true) reports no resource change events if the target on the file
system has changed, been removed, renamed, etc.

What is the proper procedure then to detect that a linked files' target
has changed?

Thank you,
Eddie
Re: refreshLocal for linked IFiles - no IResourceChangeEvent? [message #313075 is a reply to message #313073] Wed, 28 February 2007 16:15 Go to previous message
Eclipse UserFriend
Originally posted by: eddie.streambase.com

Correction; I get resource change events if the file contents change,
but not if the target dissapears. I found an eclipse bug ticket about
this being an annoyance for auto-refresh and auto-build, and thus
disabling reports for missing target resources for links, but then how
_should_ one detect such changes?

Eddie Galvez wrote:
> I seem to observe that a refreshLocal on an IFile or its parent IFolders
> (using DEPTH_INFINITE), when said IFile is a linked resource (isLinked
> ==> true) reports no resource change events if the target on the file
> system has changed, been removed, renamed, etc.
>
> What is the proper procedure then to detect that a linked files' target
> has changed?
>
> Thank you,
> Eddie
Previous Topic:CVS client development
Next Topic:Opening existing preference page from context menu
Goto Forum:
  


Current Time: Wed Jul 02 21:11:24 EDT 2025

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

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

Back to the top