Cannot rename eclipse project

You need to get your Eclipse project back in sync with the filesystem.

Just click on your project and press F5 ("Sync with Filesystem") and then try again to rename it.


You can export a project by clicking on

  • FILE->EXPORT.
  • then import this same project with
  • FILE->IMPORT
  • .
    If you edit your files a lot outside Eclipse, enable auto-refresh with
  • WINDOWS->PREFERENCES then in the dialog box that appears, click on GENERAL->WORKSPACE and click REFRESH AUTOMATICALLY

  • 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.

    Tags:

    Eclipse