Is a relative path to git repository possible? [message #871513] |
Mon, 14 May 2012 06:01  |
Eclipse User |
|
|
|
Currently we clone our git repositories outside the workspace (as recommended), to a special location ${workspace.root}_git. So we have:
/parent
/workspace
. metadata
features/
feature_project_that_came_from_subversion/
plugins/
plugin_project_that_came_from_subversion/
/workspace_git
repo1/
.git
project11/
project12/
repo2/
.git
project21/
project22/
This is very useful, since scripts know the relative path from the workspace to the git checkout parent.
However, it all breaks if I change the absolute location, for example by "mv parent parent_old". When I start Eclipse pointing to "parent_old", all the projects in the workspace open correctly, but all the projects that were imported from git cannot be opened, since EGit seems to retain the absolute path to the repository.
Is there any way for EGit to use a path relative to the workspace root?
Thanks
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04113 seconds