1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

Bug 311189 attempt to refresh the resource (depth NONE) before removing the source entries

This commit is contained in:
James Blackburn 2010-05-05 16:41:01 +00:00
parent 800ab8b171
commit ce525dbe96

View file

@ -203,8 +203,11 @@ public class ResourceChangeHandler extends ResourceChangeHandlerBase implements
assert(to == null || to.getProject().equals(from.getProject()));
// Bug 311189 -- if the resource still exists now, don't treat as a remove!
if (to == null && from.exists())
continue;
if (to == null) {
from.refreshLocal(IResource.DEPTH_ZERO, null);
if (from.exists())
continue;
}
ICProjectDescription prjDesc = getProjectDescription(from);
if (prjDesc == null)