zoukankan      html  css  js  c++  java
  • 從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.

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

  • 相关阅读:
    maven pom 详细配置
    寻找二叉树最远的叶子结点
    控制两个线程的启动顺序
    tensorflow之神经网络实现流程总结
    ubuntu服务器安装FTP服务
    ubuntu服务器 安装 seafile 个人网盘
    软件工程实践总结作业~
    Beta 答辩总结
    Beta 冲刺 (7/7)
    Beta 冲刺 (6/7)
  • 原文地址:https://www.cnblogs.com/sipher/p/2727765.html
Copyright © 2011-2022 走看看