Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » Import remote git repository in one folder and create project in another one
Import remote git repository in one folder and create project in another one [message #544949] Tue, 06 July 2010 08:05 Go to next message
Dmitry  is currently offline Dmitry Friend
Messages: 2
Registered: July 2010
Junior Member
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?
Re: Import remote git repository in one folder and create project in another one [message #545146 is a reply to message #544949] Tue, 06 July 2010 18:26 Go to previous message
Robin Rosenberg is currently offline Robin RosenbergFriend
Messages: 332
Registered: July 2009
Senior Member
Dmitry wrote:

> 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.

-- robin
Previous Topic:EGit installation
Next Topic:Import remote git repository in one folder and create project in another one
Goto Forum:
  


Current Time: Thu Nov 27 00:43:11 GMT 2014

Powered by FUDForum. Page generated in 0.02936 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software