|
Re: Renaming Eclipse project didn't rename folder in local git repo [message #1185640 is a reply to message #1185172] |
Thu, 14 November 2013 07:02 |
na na Messages: 11 Registered: November 2013 |
Junior Member |
|
|
David M. Karr wrote on Wed, 13 November 2013 18:32I have a Maven project that I shared with a git repo. At one point I decided I needed to rename the project and artifact. I renamed it in Eclipse and it looked fine. The project name changed, and it changed the artifact name. However, it didn't change the folder in my local git repo. [...]
IMHO thats not an EGit issue, if you create a project outside the workspace (which is recommended for Git) and rename it within Eclipse it won't rename the system folder. Also the project name is independent from the project folder itself. It's just a name in a configuration file (.project for Eclipse). But I understand that it can be confusing ending up with a name different from the folder containing all the source files. So, renaming at Eclipse level, soft deleting the project(remove w/o deletion), renaming the folder at the system level and finally reimport it into Eclipse seems to be your best option.
[Updated on: Thu, 14 November 2013 07:02] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04880 seconds