Bug 244734 - Can't rename project
Summary: Can't rename project
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.4   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-20 14:39 EDT by Dean Schulze CLA
Modified: 2008-09-10 12:35 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dean Schulze CLA 2008-08-20 14:39:21 EDT
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.
Comment 1 Olivier Thomann CLA 2008-08-20 15:27:27 EDT
Move to Platform/Resources
Comment 2 Remy Suen CLA 2008-08-20 15:42:37 EDT
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.
Comment 3 Dean Schulze CLA 2008-08-20 16:42:10 EDT
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'

Comment 4 Szymon Brandys CLA 2008-08-25 06:38:26 EDT
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.
Comment 5 Dean Schulze CLA 2008-08-25 15:23:27 EDT
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.
Comment 6 Szymon Brandys CLA 2008-09-04 06:02:47 EDT
(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.

Comment 7 Szymon Brandys CLA 2008-09-10 12:35:22 EDT
Feel free to reopen, if you can provide detailed steps.