Avoiding “resource is out of sync with the filesystem”

前端 未结 10 1673
梦如初夏
梦如初夏 2020-11-29 15:22

I develop Java code with Eclipse and regularly get this message:

resource is out of sync with the filesystem.

Right-click > Refr

10条回答
  •  無奈伤痛
    2020-11-29 16:17

    When you open an Eclipse workspace from within a clearcase view and try to rename the project, you will often get the pop-up warning ... “Resource ‘project’ is out of sync with the file system”. If refreshing the project does not fix the problem, then do the following workaround: a. Open workspace WITHOUT being in a view b. Select the project in Project Explorer c. ClearCase -> Associate Project (project should now look like project [] ) d. Right click project -> Refresh (vob sub-folders should now be empty) e. Right click project -> Rename ... f. Enter New name

    Now you can close the workspace, reopen it in a view and refresh the project. You may also dissociate the project if you prefer the project not to be associated with the vob.

提交回复
热议问题