git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [egit] Git repository with multiple eclipse projects ?

From
Robin Rosenberg <robin.rosenberg@dewire.com>
Date
Nov 25, 2009, 21:27 UTC
Message-ID
<200911252227.40235.robin.rosenberg@dewire.com>
In-Reply-To
<20091125164734.GF21347@linagora.com>
onsdag 25 november 2009 17:47:34 skrev  Yann Dirson:
Show 7 quoted lines
> I am investigating whether it is possible at all to have several
> eclipse projects in a single git repo, and have those projects
> correctly seen as managed by git.
>
> When importing a git repo into eclipse, we get a list of projects to
> import, but that list is empty.  What is expected by egit to get this
> list filled ?

Both Egit and Jgit themselves have multiple projects in the same repo. All projects must be located in the same directory structure.

repo/.git
    |`--project1/.git
    |`--project2

etc Other variations are possible.

>
> It also does not look like it would be possible to use the "share"
> functionnality to setup such a repository from multiple projects (or
> from a project set), right ?

Share only tells Eclipse to attach EGit as the team provider, provided it is located in a git repo, or lets you create a repo if none exists.

-- robin
Previous: Yann SimonNext: Yann Dirson
Message 3 of 8 in “[egit] Git repository with multiple eclipse projects ?”
  1. Yann DirsonNov 25, 2009
  2. Yann SimonNov 25, 2009
  3. Robin RosenbergNov 25, 2009
  4. Yann DirsonDec 2, 2009
  5. Shawn O. PearceNov 26, 2009
  6. Douglas CamposNov 26, 2009
  7. Yann SimonNov 26, 2009
  8. Yann DirsonNov 26, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.