Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » TeamProjectSet repository-folder(TeamProjectSet repository-folder does not honor Default-Repository folder)
TeamProjectSet repository-folder [message #1504904] Tue, 09 December 2014 17:19 Go to next message
kurt Mising name is currently offline kurt Mising nameFriend
Messages: 15
Registered: July 2009
Junior Member
As far as I understood the EGit-documentation, the git-repositories should not be located in the workspace-folder.

But importing projects via TeamProjectSets does exactly that.
At least EGit 3.4.1 does so.

Shouldn't it honor the EGit-configuration ("Default repository folder") ?

Even nicer would be, if there was an API to set the repository-folder.
Re: TeamProjectSet repository-folder [message #1507201 is a reply to message #1504904] Thu, 11 December 2014 12:00 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30372
Registered: July 2009
Senior Member
Kurt,

Most often team project set files are a poor-mans solution for trying to
automate workspace provisioning. Oomph provides richer mechanisms for
such automation:

https://projects.eclipse.org/projects/tools.oomph

For example, Oomph supports a Git clone task you can can decide where
you want your close to be; with team project sets you have no real
control over that. Once you have a clone, something like a Targlet task
is very useful, assuming your projects are actually plug-ins and
features. With a targlet task you can provision the workspace and
target platform simultaneously. If your projects can't plugins and
features, you can use the Projects Import task to import them into the
workspace (without ensure their dependencies are satisfied by the target
platform).

With this approach you can configure everything, and avoid these rather
crappy team project set files...

If you have questions about Oomph, you can ask on the eclipse.oomph forum.


On 09/12/2014 6:19 PM, kurt Mising name wrote:
> As far as I understood the EGit-documentation, the git-repositories
> should not be located in the workspace-folder.
>
> But importing projects via TeamProjectSets does exactly that.
> At least EGit 3.4.1 does so.
>
> Shouldn't it honor the EGit-configuration ("Default repository folder") ?
>
> Even nicer would be, if there was an API to set the repository-folder.
>
Previous Topic:TeamProjectSet Export
Next Topic:unable to push sources to JGit in Gerrit
Goto Forum:
  


Current Time: Sat Aug 24 06:38:52 GMT 2019

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

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

Back to the top