Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes



One answer

Permanent link
I think you should open a work item with a description of how the project was shared and if any options were used when loading.

Also, include screenshots and stack traces of exceptions (from Error Log view) if possible.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Mar 14 '12, 11:29 a.m.

Question was seen: 3,359 times

Last updated: Mar 14 '12, 11:29 a.m.

Confirmation Cancel Confirm