1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-03 14:25:37 +02:00

catch refreshLocal scoping rule exception so that operation completes

This commit is contained in:
David McKnight 2006-09-29 14:37:22 +00:00
parent 1118888cb2
commit 63e937b573

View file

@ -246,7 +246,14 @@ public class RSEFileStoreRemoteFileWrapper extends FileStore implements IFileSto
}
if (!file.isSynchronized(IResource.DEPTH_ZERO) && !_remoteFile.getName().equals(".project"))
{
file.refreshLocal(IResource.DEPTH_ONE, monitor);
try
{
file.refreshLocal(IResource.DEPTH_ZERO, monitor);
}
catch (Exception e)
{
e.printStackTrace();
}
}
if (file != null)
{