Git development
 help / color / mirror / Atom feed
From: "Shawn O. Pearce" <spearce@spearce.org>
To: Yann Dirson <ydirson@linagora.com>
Cc: git@vger.kernel.org
Subject: Re: [egit] Git repository with multiple eclipse projects ?
Date: Wed, 25 Nov 2009 16:48:17 -0800	[thread overview]
Message-ID: <20091126004817.GL11919@spearce.org> (raw)
In-Reply-To: <20091125164734.GF21347@linagora.com>

Yann Dirson <ydirson@linagora.com> wrote:
> 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.

As Robin said, it should work.  EGit and JGit both use this layout.
 
> 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.

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

-- 
Shawn.

  parent reply	other threads:[~2009-11-26  0:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-25 16:47 [egit] Git repository with multiple eclipse projects ? Yann Dirson
2009-11-25 19:53 ` Yann Simon
2009-11-25 21:27 ` Robin Rosenberg
2009-12-02 14:24   ` Yann Dirson
2009-11-26  0:48 ` Shawn O. Pearce [this message]
2009-11-26  1:12   ` Douglas Campos
2009-11-26  8:39   ` Yann Simon
2009-11-26 14:30   ` Yann Dirson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091126004817.GL11919@spearce.org \
    --to=spearce@spearce.org \
    --cc=git@vger.kernel.org \
    --cc=ydirson@linagora.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox