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

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

From
YDYann Dirson <ydirson@linagora.com>
Date
Nov 26, 2009, 14:30 UTC
Message-ID
<20091126143016.GF15136@linagora.com>
In-Reply-To
<20091126004817.GL11919@spearce.org>
On Wed, Nov 25, 2009 at 04:48:17PM -0800, Shawn O. Pearce wrote:
Show 8 quoted lines
> > 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 ?
> 
> There should be .project files in the repository.  I think we scan
> the entire checkout tree for .project files, but maybe we are doing
> something stupid and only looking at the top level directory of
> the checkout.

Right, we could make it work - the devs just did not have the habbit of commiting .project files.

Show 7 quoted lines
> > 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 ?
> 
> Nope, I don't think this is supported right now.  You need to
> initialize the git repository by hand in the higher level directory
> that holds the projects.

Yes, we did that by git-add'ing the initial projects manually and pushing them, and we can now "import" that.

That makes me wonder if it should work to add a new project afterwards from within Eclipse. If we create a new project under the git tree, and try to use "share", then we get presented a folded list containing the project we want to add, which when unfolded reveals "..\.git" (yes, this test done on windows) as repository, which is promising.

But then the field below near the "Create" button (the one with "\.git" text on the right) gets polulated with the full project path when we click on the project in the list, and we could not unlock the "next" or "finish" button. Are we just trying things the way they should work but hit functionnality that is just not finished, or are we completely off-track ?

Thanks much,
-- 
Yann
Previous: Yann Simon
Message 8 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.