Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338340

Summary: project not shown under SVN anymore after Eclipse update
Product: [Technology] Subversive Reporter: Albert Zeyer <albzey+eclipsebugs>
Component: CoreAssignee: Igor Burilo <igor.burilo>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: a.gurov
Version: 0.7   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

Description Albert Zeyer CLA 2011-02-27 11:19:45 EST
I just updated Eclipse from 3.5.2 to 3.6.2 and Eclipse lost all its installed plugins (I guess because I just replaced the Eclipse directory; I thought that would be the standard way to install the update).

So I reinstalled the SVN plugin.

The problem now is that in my existing workspace on an existing project, it doesn't show the SVN information anymore although I have the SVN plugin installed now. I guess it assumes that the project is not under SVN.

Of course, it still is. Via filesystem, I can do all the usual SVN actions.


-- Configuration Details --
Product: Eclipse 1.3.2.20110218-0812 (org.eclipse.epp.package.java.product)
Installed Features:
 org.eclipse.team.svn 0.7.9.I20110207-1700
Comment 1 Albert Zeyer CLA 2011-02-28 06:41:58 EST
Some more (I'm not sure if this should go into a separate report or not):

I also didn't found any way to make it use the SVN again for this project. (The only way was to checkout the full project again. Which was stupid because everything was already in place.)

In the right click context of the project under 'Team', the only option was 'Apply patch', nothing else.
Comment 2 Alexander Gurov CLA 2011-03-02 05:11:57 EST
Is it possible that earlier you were using Subclipse and after reinstalling Eclipse IDE you have switched to Subversive? If it is the case, then the whole situation is very understandable: actually, "no Team menu items except 'Apply Patch'" situation happens exactly in the case when the projects were registered to be used with an another source control plug-in in compare to what is currently installed.
Comment 3 Albert Zeyer CLA 2011-03-02 05:30:44 EST
That may be the case. I am not exactly sure.

But shouldn't it anyway see that the directory is under SVN?

And if not automatically, how can I say it that it is under SVN and it should treat it like that?
Comment 4 Alexander Gurov CLA 2011-03-02 06:49:29 EST
If that is the case then that behaviour was how it should have been correspondingly to the Eclipse Team API requirements: different team providers shouldn't mess with each other. There is one flaw although, it would be nice if there was an option to detach a projects from the missing plug-in, but still it is not related to the Subversive plug-in, but more likely to the platform itself.

So, currently I can see two ways to solve the issue:
1) As you did already - is to recheckout the projects.
2) Another one - is to delete projects from the workspace (leaving all the content on the disk) and then reimport them into the workspace and then they should connect automatically.

And with that being said I will close the report because it seems that everything works fine in the end. If there is anything else related to the Subversive plug-in that makes your work in the IDE unpleasant - please do not hesitate to report it, we will check the matter. Thank you for your concern!