進行submit操作時,提示:org.tigris.subversion.javahl.ClientException: Operation not permitted
進行更新操作時,提示:Attempted to lock an already-locked dir
進行刪除操作時,提示:Resource is out of sync with the file system
網上給解決方法是進行clean操作,不過在執行時也提示Operation not permitted,這個方法不行。
找到如下的參考網頁:
http://stackoverflow.com/questions/1765232/subclipse-cant-rename-file-os-x
f you're changing workspaces on OS X and you import an SVN-based project into your new workspace, some of your files may have the uchg flag set. SubClipse/SVN will not be able to update this project. You will get an error:
svn: Cannot rename file
every time you try invoke svn. If you issue:
chflags -R nouchg .
at the top-level of the project directory this will clear these flags and restore SVN function.
於是在workspace目錄下執行chflags -R nouchg .
然後就可以順利執行clean操作了(右鍵項目 -> Team -> clean)。
可是在執行刪除操作時仍然提示:Resource is out of sync with the file system
參考如下網址進行解決:
http://www.velocityreviews.com/forums/t147718-how-to-fix-eclipse-resource-is-out-of-sync-with-the-file-system.html
Thought I'd put this here because when I went looking earlier I didn't
find a solution on Usenet. This error occurs when you edit a workbench
resource outside of Ecliple. To fix this problem, right click the
project or edited resource and select "Refresh". If you edit outside of
Eclipse a lot, you can enable auto-refresh by going to
Window->Preferences menu, then in the Preferences dialog box, select
General->Workspace. Check the "Refresh automatically" box.
This is for Eclipse 3.1. Don't know about other versions.
進行項目的更新,問題徹底解決。