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:
parent
1118888cb2
commit
63e937b573
1 changed files with 8 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue