ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resources[i]); try { svnResource.refreshStatus(); } catch (SVNException e) { e.printStackTrace(); }
if (resources[i].exists()) { ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resources[i]); try { svnResource.refreshStatus(); } catch (SVNException e) { e.printStackTrace(); } }
    private void refreshStatus(IResource[] resources) {        for (int i = 0; i < resources.length;i++) {    		ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resources[i]);    		try {				svnResource.refreshStatus();			} catch (SVNException e) {				e.printStackTrace();			}        }    }