// when the tree isn't locked. This shouldn't cause a regression, since
// when the call fails currently things keep on going due to the catch
if (!project.getWorkspace().isTreeLocked())
{
try {
project.refreshLocal(IResource.DEPTH_INFINITE, null);
} catch (CoreException e) {
// TODO C.B.:pushing this down to a warning because it creates really
// spurious output. Don't know why we are calling refreshLocal at all.
JSFCorePlugin.log(Status.WARNING, "Error.RefreshingLocal", e); //$NON-NLS-1$
}