Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » Auto-share projects not working as intended?
Auto-share projects not working as intended? [message #912281] Thu, 13 September 2012 09:04 Go to next message
Robert Munteanu is currently offline Robert MunteanuFriend
Messages: 21
Registered: July 2009
Junior Member
Hi,

I have the following setup for EGit:

* one single git repository, tracked in the git repositories view
* multiple Maven projects contained in the git repository
* periodically new projects are added in the git repository and I pull from the remote
* I import the new projects as Maven projects

Given that I have enabled 'Auto share projects located in a git repository' I would expect these projects to be shared after being imported, but that's not the case.

Is this a configuration error or a bug I should report?

Thanks,

Robert
Re: Auto-share projects not working as intended? [message #925531 is a reply to message #912281] Thu, 27 September 2012 20:28 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 612
Registered: July 2009
Senior Member
I'd say this should work. Which EGit version are you using ?

I just successfully tried the following example using EGit 2.1 release:
- clone the tycho repository [1] from repositories view
- ensure that auto-sharing projects is switched on
- Import... > Maven > Existing Maven Projects
- browse to the directory tycho repository was cloned to and select tycho-maven-plugin
- click "Finish"
-> project is imported and sharing worked

[1] git://git.eclipse.org/gitroot/tycho/org.eclipse.tycho.git
Re: Auto-share projects not working as intended? [message #926043 is a reply to message #925531] Fri, 28 September 2012 08:50 Go to previous message
Robert Munteanu is currently offline Robert MunteanuFriend
Messages: 21
Registered: July 2009
Junior Member
Thanks for taking the time to test this scenario.

I've walked through your steps and it seems to work . Perhaps the difference is that I've updated to EGit 2.1 , since I projects are auto-shared for my own repository as well now.
Previous Topic:History list of commits invisible
Next Topic:Git as a folder in an existing project
Goto Forum:
  


Current Time: Sat Dec 20 13:44:25 GMT 2014

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

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