Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Team menu does not offer Share Project option
Team menu does not offer Share Project option [message #521535] Wed, 17 March 2010 23:31 Go to next message
BenH is currently offline BenHFriend
Messages: 39
Registered: July 2009
Member
Ive been importing 4 projects into EGit.

I have EGit working OK, and 3 project conversions have gone perfectly. The last however, under "Team", does not offer any share project options. All that is listed is "Apply Patch".

By what logic does the EGit plugin enable or disable the option to share via Git?

Ive had a good look at the .project and .classpath files, and I can see nothing unusual in them. No team providers are mentioned.

The main difference is that the problematic project was previously shared via Svn; the others were not. SVN has been disconnected, and there is no mention of Svn in the project def or UI. But I do suspect it is interfering in some way.

Any advice welcomed.
-Ben
Re: Team menu does not offer Share Project option [message #522552 is a reply to message #521535] Tue, 23 March 2010 03:17 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
Which EGit and JGit version are you using ?
Re: Team menu does not offer Share Project option [message #524929 is a reply to message #522552] Sun, 04 April 2010 10:23 Go to previous messageGo to next message
BenH is currently offline BenHFriend
Messages: 39
Registered: July 2009
Member
EGit version: 0.6.0.201003051509
JGit version: 0.6.0.201002172119
Re: Team menu does not offer Share Project option [message #525414 is a reply to message #524929] Tue, 06 April 2010 14:21 Go to previous messageGo to next message
Stefan Lay is currently offline Stefan LayFriend
Messages: 342
Registered: July 2009
Senior Member
Hi Ben,

> By what logic does the EGit plugin enable or disable the option to share
> via Git?
The share project option does not come from the EGit Plugin but from the
eclipse team ui plugin. It is shown whenever there is no property
"org.eclipse.team.core.repository" stored for a project in the workspace.

>
> Ive had a good look at the .project and .classpath files, and I can see
> nothing unusual in them. No team providers are mentioned.
>
They are not mentioned here. A team provider is stored as
projectPersistentProperty in the Eclipse workspace.

> The main difference is that the problematic project was previously shared
> via Svn; the others were not. SVN has been disconnected, and there is no
> mention of Svn in the project def or UI. But I do suspect it is
> interfering in some way.

The Disconnect from SVN seems to be buggy. There seems to be still an entry
for this property ("org.eclipse.team.core.repository").You could check this
in your workspace in the file
..metadata\.plugins\org.eclipse.core.resources\.projects\<projectname >\.indexes\properties.index.

The easiest workaround would be to delete the project (without deleting
content) and to reimport it again.

Stefan
Re: Team menu does not offer Share Project option [message #526441 is a reply to message #525414] Sun, 11 April 2010 03:51 Go to previous messageGo to next message
BenH is currently offline BenHFriend
Messages: 39
Registered: July 2009
Member
Thanks Stefan,

Deleting and recreating the project did indeed clear the problem. Its likely a Svn bug, as you mention.

-Ben

Re: Team menu does not offer Share Project option [message #579146 is a reply to message #525414] Sun, 11 April 2010 03:51 Go to previous message
BenH is currently offline BenHFriend
Messages: 39
Registered: July 2009
Member
Thanks Stefan,

Deleting and recreating the project did indeed clear the problem. Its likely a Svn bug, as you mention.

-Ben
Previous Topic:Most egit functionality grayed out...
Next Topic:Craft a commit (hunks, commit only staged changes) ?
Goto Forum:
  


Current Time: Fri Apr 19 13:40:29 GMT 2024

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

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

Back to the top