svn 删除文件夹时resoucrce "" is out of sync with the system

eclipse中的项目无法查看源文件,报错:resource is out of sync with the file system。唯一的问题,在eclipse工程之外的地方修改了源文件但是没有刷新。MyEclipse自带帮助文档:
Don't forget to refresh!
Whenever you use external tools to modify workspace files, you must perform a Refresh from within Eclipse to make the workspace aware of the changes.If you get a resource out of sync error in Eclipse it is a sign that there are resources in Eclipse that have been modified outside of Eclipse.
One solution is to perform a refresh (available from a resource's popup menu) on any resources or projects that where modified outside of Eclipse.
There is also a preference to refresh automatically. 但是设置为自动刷新在工程比较大时代价有点大!  Window->Preferences->General->Workspace,选中Refresh automatically。

上面说了这么多,都没有点中重点。
用svn桌面版直接删除文件夹,就可以搞定了。

猜你喜欢

转载自love398146779.iteye.com/blog/1659560