Eclipse weirdness with component rename
I have a repository workspace with a component which was renamed at some point.
When I loaded the repository workspace to my Eclipse 3.7.0 RTC client, I got an error message about problems loading the workspace. I figured that was because of a mismatch between the project name contained in the .project file (old name) versus the new component name. So I fixed that by editing the .project in a text editor.
The .project edit was delivered without problems. However, the Project Explorer and Package Explorer views still kept showing the old component name instead of the new one.
After some searching, I found that the following location contained a folder with the old name:
\workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\<OLD>
I had to separately rename the project from the Project Explorer view. However, this threw an exception with a message about not being able to delete a folder, and offering me to abort or undo my changes. I chose Undo. But to my surprise, everything seems to work fine now. The rename did go through.
Just thought I would report this in case anyone understands what the underlying problem is.
When I loaded the repository workspace to my Eclipse 3.7.0 RTC client, I got an error message about problems loading the workspace. I figured that was because of a mismatch between the project name contained in the .project file (old name) versus the new component name. So I fixed that by editing the .project in a text editor.
The .project edit was delivered without problems. However, the Project Explorer and Package Explorer views still kept showing the old component name instead of the new one.
After some searching, I found that the following location contained a folder with the old name:
\workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\<OLD>
I had to separately rename the project from the Project Explorer view. However, this threw an exception with a message about not being able to delete a folder, and offering me to abort or undo my changes. I chose Undo. But to my surprise, everything seems to work fine now. The rename did go through.
Just thought I would report this in case anyone understands what the underlying problem is.