[git-users] Re: multiple eclipse projects using single repository

2012-12-06 Thread John McKown
I hesitate to mention this, but have you looked at submodules? It is, kind 
of, similar to what you seem to want. Each eclipse project is in its own 
subdirectory of the same parent. The parent is a superproject. From my 
reading, this is cutting edge in git. I.e. it is new and still changing. 
I am a bit uncomfortable mentioning it, but I don't believe in protecting 
people from themselves. Your foot, your bullet.

http://git-scm.com/book/en/Git-Tools-Submodules


On Thursday, December 6, 2012 12:22:58 PM UTC-6, Jeffrey Marans wrote:

 Can I create multiple eclipse projects using the same GIT repository 
 without sub-repositories or the need to re-clone the repository each time?
 It seems that when one creates a project in eclipse it saves a .project 
 file into the repository making it impossible to create another.


-- 




[git-users] Re: multiple eclipse projects using single repository

2012-12-06 Thread Jeffrey Marans
Thanks, I think it's worth reading.

On Thursday, December 6, 2012 2:30:04 PM UTC-5, John McKown wrote:

 I hesitate to mention this, but have you looked at submodules? It is, kind 
 of, similar to what you seem to want. Each eclipse project is in its own 
 subdirectory of the same parent. The parent is a superproject. From my 
 reading, this is cutting edge in git. I.e. it is new and still changing. 
 I am a bit uncomfortable mentioning it, but I don't believe in protecting 
 people from themselves. Your foot, your bullet.

 http://git-scm.com/book/en/Git-Tools-Submodules


 On Thursday, December 6, 2012 12:22:58 PM UTC-6, Jeffrey Marans wrote:

 Can I create multiple eclipse projects using the same GIT repository 
 without sub-repositories or the need to re-clone the repository each time?
 It seems that when one creates a project in eclipse it saves a .project 
 file into the repository making it impossible to create another.



-- 




[git-users] Re: multiple eclipse projects using single repository

2012-12-06 Thread Thomas Ferris Nicolaisen
On Thursday, December 6, 2012 7:22:58 PM UTC+1, Jeffrey Marans wrote:

 Can I create multiple eclipse projects using the same GIT repository 
 without sub-repositories or the need to re-clone the repository each time?


Of course you can. Just create the projects one level deeper:

repository-root/
module1/
.project
module2/
.project
module3/
.project 

Of course, if the projects/modules are unrelated, they should be in 
separate repositories.

--