Community
Participate
Working Groups
Build ID: I20080617-2000 Steps To Reproduce: 1. Open a project (i.e. named "server") 2. Right click the project and select Rename 3. Get a dialog saying "Resource 'server' is out of sync with file system." More information: Doing a Refresh on the entire project doesn't help. I still get the same error dialog when trying to rename the project after a refresh. I'm running the 64 bit build of Eclipse on Ubuntu 8.04.1 64 bit and start Eclipse from the command line with JDk 1.5.0_16-b02 64 bit version.
Move to Platform/Resources
Any errors in your workspace's log file? Is this reproducible on a fresh workspace? Also, how are you renaming the project? Is this through the 'Project Explorer' view or the 'Navigator' view? If I try to rename a project through the 'Package Explorer', I have to go to the 'Refactor' menu first (which does not appear to be mentioned in your comment 0). The same applies for the 'Project Explorer' but this seems to only affect Java projects.
I'm renaming through Navigator. The failed Rename doesn't put anything in the .log file. The only thing in the workspace .log file seems to come from Eclipse startup (and the time stamp is off by an hour): !MESSAGE A workspace crash was detected. The previous session did not exit normally. Not using saved taglib indexes. !SESSION 2008-08-20 13:18:16.415 ----------------------------------------------- eclipse.buildId=I20080617-2000 java.version=1.5.0_16 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Framework arguments: ... Command-line arguments: ... !ENTRY org.eclipse.ui 2 0 2008-08-20 13:18:22.239 !MESSAGE Warnings while parsing the key bindings from the 'org.eclipse.ui.commands' extension point !SUBENTRY 1 org.eclipse.ui 2 0 2008-08-20 13:18:22.239 !MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.tm.terminal', id='org.eclipse.tm.terminal.command1' !SUBENTRY 1 org.eclipse.ui 2 0 2008-08-20 13:18:22.239 !MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.tm.terminal', id='org.eclipse.tm.terminal.command1' !SUBENTRY 1 org.eclipse.ui 2 0 2008-08-20 13:18:22.239 !MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.tm.terminal', id='org.eclipse.tm.terminal.command1' !SUBENTRY 1 org.eclipse.ui 2 0 2008-08-20 13:18:22.239 !MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.tm.terminal', id='org.eclipse.tm.terminal.command1' !SUBENTRY 1 org.eclipse.ui 2 0 2008-08-20 13:18:22.239 !MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.tm.terminal', id='org.eclipse.tm.terminal.command1' !SUBENTRY 1 org.eclipse.ui 2 0 2008-08-20 13:18:22.239 !MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.tm.terminal', id='org.eclipse.tm.terminal.command1' !SUBENTRY 1 org.eclipse.ui 2 0 2008-08-20 13:18:22.239 !MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.tm.terminal', id='org.eclipse.tm.terminal.command1' !SUBENTRY 1 org.eclipse.ui 2 0 2008-08-20 13:18:22.239 !MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.tm.terminal', id='org.eclipse.tm.terminal.command1' !SUBENTRY 1 org.eclipse.ui 2 0 2008-08-20 13:18:22.239 !MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.tm.terminal', id='org.eclipse.tm.terminal.command1' !SUBENTRY 1 org.eclipse.ui 2 0 2008-08-20 13:18:22.239 !MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.tm.terminal', id='org.eclipse.tm.terminal.command1'
Is it a clean Eclipse or with some external plug-ins installed? I can reproduce the issue by modifying project files externally, but a refresh fixes it.
The only plugin is Subclipse 1.4. Doing a refresh has no effect. There's another problem that could be causing this one. Eclipse says that it can't build the project because some necessary .jar files are missing, even though the .jar files are there. The Libraries tab under Java Build Path shows the .jar files Eclipse says is missing with no errors or warnings indicated. If Eclipse can't build the project it may not allow it to be renamed.
(In reply to comment #5) Could you open your workspace in the clean Eclipse and try to rename the project. I still can't reproduce the issue, so any extra information like what jars are missing, screen shots etc. will help.
Feel free to reopen, if you can provide detailed steps.