Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » Team menu does not offer Share Project option
Team menu does not offer Share Project option [message #578323] Wed, 17 March 2010 19:31 Go to next message
Eclipse UserFriend
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 #578387 is a reply to message #578323] Mon, 22 March 2010 23:17 Go to previous messageGo to next message
Eclipse UserFriend
Which EGit and JGit version are you using ?
Re: Team menu does not offer Share Project option [message #578772 is a reply to message #578387] Sun, 04 April 2010 06:23 Go to previous messageGo to next message
Eclipse UserFriend
EGit version: 0.6.0.201003051509
JGit version: 0.6.0.201002172119
Re: Team menu does not offer Share Project option [message #578838 is a reply to message #578772] Tue, 06 April 2010 10:21 Go to previous message
Eclipse UserFriend
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
Previous Topic:Deleting Branches
Next Topic:[solved] How to remove remote branches from history
Goto Forum:
  


Current Time: Sun Jul 06 02:32:57 EDT 2025

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

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

Back to the top