refreshLocal for linked IFiles - no IResourceChangeEvent? [message #313073] |
Wed, 28 February 2007 15:52  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.05272 seconds