Services.getMessage("project.file.mismatch", file, path));
}*/
//String file = file.substring(path.length());
IFile ifile = project.getFile(file);
ifile.refreshLocal(IResource.DEPTH_INFINITE, null);
// invoke any nature specific file refreshing
String[] natures = ProjectNatureFactory.getProjectNatures(project);
for (String nature : natures){
ProjectManager manager = ProjectManagement.getProjectManager(nature);