Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Using one repository for multiple eclipse projects
Using one repository for multiple eclipse projects [message #518976] Fri, 05 March 2010 15:33 Go to next message
Alan Chaney is currently offline Alan ChaneyFriend
Messages: 20
Registered: January 2010
Junior Member
Hi

Is it possible or advisable to use one git repository for more than one eclipse project? I have a pretty complex set of plug-ins broken into a lot of small eclipse projects and I'm not really that keen on having one git repository for each one, if only because when I push to a public server I may well end up with multiple push operations to keep all of the projects in sync. I'd prefer to have one git repository for a feature and the specific projects which are the core of that feature, if possible.

Thanks in advance

Alan Chaney
Re: Using one repository for multiple eclipse projects [message #519014 is a reply to message #518976] Fri, 05 March 2010 17:11 Go to previous messageGo to next message
ekkehard gentz is currently offline ekkehard gentzFriend
Messages: 118
Registered: July 2009
Location: rosenheim, Germany, bavar...
Senior Member

This is a multi-part message in MIME format.
--------------060303050900010905000102
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Am 05.03.10 16:33, schrieb Alan Chaney:
> Hi
>
> Is it possible or advisable to use one git repository for more than
> one eclipse project? I have a pretty complex set of plug-ins broken
> into a lot of small eclipse projects and I'm not really that keen on
> having one git repository for each one, if only because when I push to
> a public server I may well end up with multiple push operations to
> keep all of the projects in sync. I'd prefer to have one git
> repository for a feature and the specific projects which are the core
> of that feature, if possible.
>
> Thanks in advance
>
> Alan Chaney
>
Alan,

I described it here how to use one repository for multi projects:
http://ekkescorner.wordpress.com/blog-series/git-mercurial/w orkflow-create-multi-project-repositories-egit/

ekke

--

ekke (ekkehard gentz)
independent software-architect
senior erp-consultant
eclipse | osgi | equinox | mdsd | oaw | emf | uml
max-josefs-platz 30, D-83022 rosenheim, germany
mailto:ekke@ekkes-corner.org
homepage (de): http://gentz-software.de
blog (en): http://ekkes-corner.org
twitter: @ekkescorner
skype: ekkes-corner
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490


--------------060303050900010905000102
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Am 05.03.10 16:33, schrieb Alan Chaney:
<blockquote cite="mid:hmr893$svk$1@build.eclipse.org" type="cite">Hi
<br>
<br>
Is it possible or advisable to use one git repository for more than one
eclipse project? I have a pretty complex set of plug-ins broken into a
lot of small eclipse projects and I'm not really that keen on having
one git repository for each one, if only because when I push to a
public server I may well end up with multiple push operations to keep
all of the projects in sync. I'd prefer to have one git repository for
a feature and the specific projects which are the core of that feature,
if possible.
<br>
<br>
Thanks in advance
<br>
<br>
Alan Chaney
<br>
<br>
</blockquote>
Alan,<br>
<br>
I described it here how to use one repository for multi projects:<br>
<a class="moz-txt-link-freetext" href=" http://ekkescorner.wordpress.com/blog-series/git-mercurial/w orkflow-create-multi-project-repositories-egit/"> http://ekkescorner.wordpress.com/blog-series/git-mercurial/w orkflow-create-multi-project-repositories-egit/</a><br>
<br>
ekke<br>
<br>
<div class="moz-signature">-- <br>
<p style="margin-bottom: 0cm;"> <font ,="" color="#808080"
face="Verdana, sans-serif"> <font size="4">ekke (ekkehard gentz)<br>
</font> <font size="3"> independent software-architect<br>
senior erp-consultant<br>
</font> <font size="2">eclipse | osgi | equinox | mdsd | oaw | emf |
uml<br>
max-josefs-platz 30, D-83022 rosenheim, germany<br>
<a class="moz-txt-link-freetext" href="mailto:ekke@ekkes-corner.org">mailto:ekke@ekkes-corner.org</a><br>
homepage (de): <a class="moz-txt-link-freetext" href="http://gentz-software.de">http://gentz-software.de</a><br>
blog (en): <a class="moz-txt-link-freetext" href="http://ekkes-corner.org">http://ekkes-corner.org</a><br>
twitter: @ekkescorner<br>
skype: ekkes-corner<br>
</font> <font size="1"> Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID:
DE189929490<br>
</font> </font> </p>
</div>
</body>
</html>

--------------060303050900010905000102--


ekke
independent software architect

blog: http://ekkes-corner.org
twitter: @ekkescorner
Re: Using one repository for multiple eclipse projects [message #519016 is a reply to message #519014] Fri, 05 March 2010 17:19 Go to previous messageGo to next message
Alan Chaney is currently offline Alan ChaneyFriend
Messages: 20
Registered: January 2010
Junior Member
Thanks, ekke

That's very helpful - exactly what I needed to know.

Regards

Alan
Re: Using one repository for multiple eclipse projects [message #519197 is a reply to message #519016] Sun, 07 March 2010 23:55 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
You may also first create all projects under a common directory and then create a common repository for all projects in one go:
- create the Eclipse projects e.g. a,b,c under a common directory e.g. d1
- select all projects a,b,c
- from context menu click "Team" > "Share Project" > "Git"
- press "Next"
- select all projects a,b,c
- the wizard automatically moves up the default repository location to the parent folder d1since multiple projects have been selected
- click "Create Repository"
- click "Finish"
Re: Using one repository for multiple eclipse projects [message #521163 is a reply to message #519197] Tue, 16 March 2010 10:54 Go to previous messageGo to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

Hi Matthias,

thank for this information. I added it to:
http://www.vogella.de/articles/EGit/article.html

Cheers, Lars
--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter

On 07.03.2010 15:55, Matthias Sohn wrote:
> You may also first create all projects under a common directory and then
> create a common repository for all projects in one go:
> - create the Eclipse projects e.g. a,b,c under a common directory e.g. d1
> - select all projects a,b,c
> - from context menu click "Team" > "Share Project" > "Git"
> - press "Next"
> - select all projects a,b,c
> - the wizard automatically moves up the default repository location to
> the parent folder d1since multiple projects have been selected
> - click "Create Repository"
> - click "Finish"
Re: Using one repository for multiple eclipse projects [message #577970 is a reply to message #519014] Fri, 05 March 2010 17:19 Go to previous messageGo to next message
Alan Chaney is currently offline Alan ChaneyFriend
Messages: 20
Registered: January 2010
Junior Member
Thanks, ekke

That's very helpful - exactly what I needed to know.

Regards

Alan
Re: Using one repository for multiple eclipse projects [message #578003 is a reply to message #577970] Sun, 07 March 2010 23:55 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
You may also first create all projects under a common directory and then create a common repository for all projects in one go:
- create the Eclipse projects e.g. a,b,c under a common directory e.g. d1
- select all projects a,b,c
- from context menu click "Team" > "Share Project" > "Git"
- press "Next"
- select all projects a,b,c
- the wizard automatically moves up the default repository location to the parent folder d1since multiple projects have been selected
- click "Create Repository"
- click "Finish"
Re: Using one repository for multiple eclipse projects [message #578278 is a reply to message #578003] Tue, 16 March 2010 15:18 Go to previous message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

Hi Matthias,

thank for this information. I added it to:
http://www.vogella.de/articles/EGit/article.html

Cheers, Lars
--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter

On 07.03.2010 15:55, Matthias Sohn wrote:
> You may also first create all projects under a common directory and then
> create a common repository for all projects in one go:
> - create the Eclipse projects e.g. a,b,c under a common directory e.g. d1
> - select all projects a,b,c
> - from context menu click "Team" > "Share Project" > "Git"
> - press "Next"
> - select all projects a,b,c
> - the wizard automatically moves up the default repository location to
> the parent folder d1since multiple projects have been selected
> - click "Create Repository"
> - click "Finish"
Previous Topic:EGit not remember URI settings ?
Next Topic:Delete project from multiple project repository
Goto Forum:
  


Current Time: Thu Apr 25 14:29:41 GMT 2024

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

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

Back to the top