• 從ubuntu中拷貝eclipse的workspace到mac遇到的問題


    進行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.

    進行項目的更新,問題徹底解決。

  • 相关阅读:
    shell中单引号、双引号、反斜杠简说
    shell脚本
    求素数
    SqlBulkCopy高效写入数据库Demo
    地图面面观之百望山
    FileUpload控件客户端验证
    如何将shapefile进行拆分
    Python 字符串操作
    如何重装oracle
    资料
  • 原文地址:https://www.cnblogs.com/sipher/p/2727765.html
Copyright © 2020-2023  润新知