Correct process for renaming projects imported from git? [message #1730012] |
Wed, 20 April 2016 21:07 |
David M. Karr Messages: 802 Registered: July 2009 |
Senior Member |
|
|
Today I tried to do some "simple" refactoring of the Eclipse plugin project I work on. I was working on a branch specifically for this change. I had to globally change the package and org from the existing name to another.
The first thing I tried to do was rename the projects. This seemed to work fine, until I got to the last project, and it somehow failed to rename, leaving the project closed in the workspace, but actually nonexistent. At that point, I tried to completely abort, stashing my changes and switching back to master. Unfortunately, it appears that renaming projects only works in one direction. When I did the rename from Eclipse, I think it might have changed the underlying directory name (although I didn't confirm this), but when I aborted and switched back to master, the directory names were their original names, but the workspace names were not.
I'm thinking that the only "safe" way to do this is to delete my workspace projects (not the contents), rename the directories outside of Eclipse, and then reimport the projects. Is this what I have to do?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03054 seconds