Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

Within eclipse, with Subclipse installed, if I right click a project and select "team" there are normally 2 options:

  • apply patch
  • share project

Once you have shared project you get the full Subclipse menu from "team"

One project however only has one option - apply patch. If I close the project I see both options but the share project option is grayed out.

I have other projects where this is not happening.

What could be special about this project to stop me getting the share project option? Is there another path to the share project function I could use?

Regards

share|improve this question
    
Did you ever find an answer to this? I am having the same problem. –  Carnell May 9 '11 at 19:19
    
I've found this question and answer relevant to Git projects in Eclipse (with EGit) –  Stav Aug 18 '14 at 12:41

5 Answers 5

If you upgraded your Eclipse recently, make sure you're still using the same SVN plugins... :)

In my case, I upgraded my Eclipse and accidentally installed Subversive instead of Subclipse. The existing .svn directory of the project contained data in the format expected by Subclipse, and so Subversive got confused (e.g. but not showing the "Share Project" option).

share|improve this answer

Try to select prepective as java instead of j2ee and then restart as eclipse .

This works for me.

Best of luck

share|improve this answer

Solve this problem with these steps:

  • Verify that you can update using TortoiseSVN (this will guarantee that your .svn is not corrupt)
  • Delete all your projects that have this problem, but in the delete dialog, do not delete the project contents!
  • Select File -> Import -> Existing projects into Workspace.
  • Select your projects folder or your workspace folder.

Subeclipse should now detect and connect your projects automatically, without need to select 'Share Project' for each one of them.

share|improve this answer
    
Perfect. I had the infamous JavaHL issues, and couldn't find another way for Subclipse to "Try again". –  Steven R. Loomis Feb 21 '12 at 16:56
    
This worked for me! –  OMA Apr 3 '13 at 18:39
    
Still working with Eclipse Luna. Really, the Subclipse guys ought to provide a "rescan project" option - or if there already is one, mark it more clearly. I could find no other way, and I have looked. –  lserni May 20 at 7:02

I have the same problem after emergency-migrating (again!) from Subversive to Subclipse. Old .svn entries are all there but Subclipse won't pick them up.

I can successfully commit using an external tool, in this case TortoiseSVN, but in Eclipse, I just see normal Java projects that cannot be shared (because of stale .svn entries I suspect).

The only solution I see is to commit everything you want to keep with an external tool, then freshly check out your projects into a new workspace and copy over any missing pieces from your old workspace.

share|improve this answer

This is usually the case when the directory containing the project is not properly under version control (bad or corrupted .svn).

So:

  • can you execute SVN commands in a shell a the root of your project?
  • where are your .project and .classpath files (in the eclipse workspace or at the root directory of your project?)
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.