Within eclipse, with Subclipse installed, if I right click a project and select \"team\" there are normally 2 options:
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).
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.
This is usually the case when the directory containing the project is not properly under version control (bad or corrupted .svn
).
So:
.project
and .classpath
files (in the eclipse workspace or at the root directory of your project?)I had the exactly same situation with Yaniv above.
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).
My solution is like below:
Exported the current project in the new workspace into .war file.
Double-checked the current project is in the svn repository.
Removed the project in the new workspace completely once I was sure that I have the exported .war file and svn repository so that I will be able to import the project again.
Imported the project from svn, and checked out the project from the svn. (Or, you can import the project from the .war file and you will be able to Share Project)
-> It worked well with the Subversive which is installed in the new workspace.
Close Project and Re-Open project has worked for me.
Please double check if you were using: Subversive or Subclipse?
It is likely that you have opened an old project with a newer Eclipse installation, where the software to be used may not be the one used previously, for example:
In my case after a fresh install of "Eclipse IDE for PHP Developers" Version: 2018-09 (4.9.0) Build id: 20180917-1800 while I needed to make some modifications to an ancient SVN tracked project.
I had Subclipse instead of Subversive (so simple yet you may be up for a spin).
Credit to the answer from Yaniv, he had installed the software the other way around - same issue.