Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsImport remote git repository in one folder and create project in another one
https://www.eclipse.org/forums/index.php/mv/msg/171369/544949/#msg_544949
is it possible to import remote git repository to one folder, for example /home/user/git,
and then create java project in another folder, for example /home/user/eclipse, so that no further actions will be required to make them work together?
If I try to do like that:
1) my project is not "shared" automatically (it doesn't matter what settings I select in "Import projects from Git" wizard)
2) I can not share project with just imported repository (if they are located in different folders).
Why does egit require to have git repository in the same folder where project is?
I understand that I can clone just imported repository to the project folder, but still, why does egit have such limitations?]]>Dmitry 2010-07-06T08:05:28-00:00Re: Import remote git repository in one folder and create project in another one
https://www.eclipse.org/forums/index.php/mv/msg/171369/545146/#msg_545146
> Hi,
>
> is it possible to import remote git repository to one folder, for example
> /home/user/git, and then create java project in another folder, for
> example /home/user/eclipse, so that no further actions will be required to
> make them work together?
>
> If I try to do like that:
> 1) my project is not "shared" automatically (it doesn't matter what
> settings I select in "Import projects from Git" wizard) 2) I can not share
> project with just imported repository (if they are located in different
> folders).
>
> Why does egit require to have git repository in the same folder where
> project is? I understand that I can clone just imported repository to the
> project folder, but still, why does egit have such limitations?
I can answer that one: Because noone did the required coding.
JGit has support at the lower levels, so it is just that some wants to
spend an hour (or a few) on it instead of on something else.