How to use Eclipse Mars to connect to Subversion - eclipse

How can I connect to SVN repositories from Eclipse Mars release?

[Copied from the original "question" to be a proper SO Q&A]
Install Subversive SVN Team Provider using Eclipse Marketplace. Under options choose what you need from optional software.
After restart, you can use File > Import or the SVN Repositories perspective to import project from svn.
You Will get prompted. Install the Latest SVNKit (1.8.10)

Eclipse Help >>> Install New Software .
Provide http://download.eclipse.org/releases/mars/ site url.
type svn , you will find svn clients.
After installing SVN client , if you try to connect to svn repository, you will be asked for connector to be installed. You can select anyone from the list shown.
Once the connectors are installed , restart eclipse. Now you are ready for svn from eclipse.

Related

Can not share new project with Subversive SVN in Eclipse Neon

I just downloaded a fresh Eclipse JEE Neon.1a Release (4.6.1) on my Windows 10 machine.
I went to the marketplace to get the latest Subversive SVN Team Provider 4.0.2.
Trying to install results in the Message: The following solutions are not available: SVN Team Provider 4.0.2.
I chose to continue anyways, and it seemed to work.
After the restart, i chose the SVNKit 1.8.14 Subversive SVN Connector and installed without any issues.
Now I was able to do basic SVN operations, all seemed fine.
Except to share a new project. I created a new Project called "test" and tried to share as a new project.
That results in the Message:
Share project was failed.
Can't overwrite cause with org.tmatesoft.svn.core.SVNException: svn: E160013: URL 'http://sol:3380/svn/repo/test' non-existent in that revision.
I tried to share a new project to another SVN Server, same error message.
I repeated the whole process on different machines, same message.
I Installed SVN Team Provider directly from the Update Site instead of the Marketplace. Same Issue.
I went to the SVNKit website to try older Versions of SVNKit and installed via the archived Update Sites, but they wont even show up in the SVN Connector Chooser in Eclipse.
I really dont know what to do anymore, can anyone help me to get it work?
I hope this solution will help you as it helped me. I think your problem is related to an unmatched client/server version. Neon subversive version is 4 and related svn connector is 1.8. But you probably need an svn connector 1.7 as it was in my case. Try the next steps and let me know if it works. Otherwise let me know the point in which you get in trouble.
go to help > installation details > filter by "svn" > uninstall everything related to subversive, subclipse and svn connectors
restart eclipse
to to help > install new software > work with > use the previous major subversive version from this URL: http://download.eclipse.org/technology/subversive/3.0/update-site/
install at least the plug-in and the integrations
restart eclipse
it will probably not ask you for a connector to be installed because you have already installed one previously, so go to window > preferences > team > svn > svn connector tab > get connectors > 1.7! (you can install all of them, the important thing is the one you choose in the combo box, it must be 1.7)
try the svn check-out process again
bye!
Bug was fixed yesterday. So just update.
I uninstalled the SVNKit 1.8.14, and it worked for me.

Subversive plugin does not show up in eclipse

I'm using eclipse Mars 2 and installed the SVN Team Provider plugin from the Luna repository cause mars's repository ended up giving me an error that it couldn't install. Now i face the problem of being unable to install a SVN Connector cause eclipse doesn't give me the ability to create a new SVN project or repository. Actually the whole IDE does not show any sign of SVN being installed except for the installed software window.
Try installing Subversive through the Eclipse Marketplace. When I did that I was given a option to install the Connector. If that doesn't work you can try the software site by going to
Help >> Install New Software >> Add...
Give it a name and paste this site to install svn.
http://download.eclipse.org/technology/subversive/3.0/update-site/
Once it is installed you can go to
Window >> Show view >> other...
In the search box type SVN and you should have some options.

CVS repository missing connection types

I'm new to using CVS repositories. I'm trying to import a repo by right clicking in the CVS repositories area, New -> Repository Location and then a window pops up with Add CVS repository. Under connection type, in Eclipse Luna I have 'extssh', but in Eclipse Mars I only have 'ext' and 'pserver'.
I need to use extssh. What is it and how do I configure it?
Install CVS plugin from below link:-
http://download.eclipse.org/releases/helios
Then search for "CVS"and select "Eclipse CVS Client" and install it.
Note-
This worked for me in STS and Eclipse 2018-12.
Just a note on this - I was also looking to use extssh with Oxygen because anything much later than Oxygen 4.7.3a doesn't appear to support WebSphere 7.0 >:(.
I had to uninstall the Oxygen instance of CVS Client by going to Help/About/Installation Details and uninstalling it. Then I was able to install the Helios version Naveen mentioned above and it worked.

Compatibility of Eclipse Luna with SVN 1.6

I recently upgraded Eclipse to Luna, and one consequence of this is that Subversive upgraded to a version that uses SVNKit 1.7.8, which is not compatible with SVN 1.6. When trying to import a project from SVN, it fails with "Unhandled event loop exception".
We are using SVN server 1.6, and it would not be easy to change this due to other dependencies. Is there a way to install an older version of SVNKit and use it with the latest Eclipse? The Subversive installation instructions state that you can:
If you wish, you can select multiple connectors and follow the installation procedure. After installation, you can switch the connector using the main menu item Window > Preferences > Team (tree node) > SVN (tree node) > SVN Connector (tab).
However, I don't seem to be able to add another SVN Connector and have it show up in the options. I have added 1.3.8 via the dropins folder, and it didn't appear under the team options.
Is there a solution? Thanks for your help with this.
SVNKit 1.8.7 connector is 100% compatible with previous Subversion Server 1.6, as user714965 said, go to Installation Details and then remove the SVN connectors and Subversive in order, then restart eclipse.
Go to the "Eclipse Marketplace"
and install Subversive
Restar eclipse and go to Window->Preferences and select Team->SVN in the left panel, then automatically appears a window to select and install the SVN connector
Select the latest version of connector (SVN Kit 1.8.7) and install it, then restart eclipse and come back to Window->Preferences->Team->SVN and select the recent installed connector
You can checkout or share projects now.
Working with Subversion server 1.6
Hope this helps.
The SVNKit website tells:
Both SVNKit 1.7.13 and 1.8.8 support 1.6 and older working copy
formats without need to upgrade.
Seems as you should better update to one of the mentioned versions instead of downgrading to 1.6.
UDPATE
If you cannot directly update, try to remove SVNKit and reinstall it. I tried this with Luna:
Help -> About -> Installation Details -> Find SVNKit in the list and choose Uninstall....
Then restart eclipse when prompted. When it comes back up the SVN connectors dialog appears and you can choose the current versions to install.
Note: Before doing this you might better make a backup copy of your eclipse folder.
As other people told you, SVN client 1.8 is compatible with SVN Server 1.6.
But you need to upgrade your previously imported SVN repository.
For my part, I just did the same as you (from Eclipse Indigo to Luna), but with SubClipse (from Tigris). And I had to upgrade my local SVN repository (which was less than 1.6) to a local SVN repository version 1.8.
To do so, I used Tortoise SVN. Once installed, simply do right click on your SVN repo and select "Upgrade" (don't remember if it was directly accessible or if I had to look in "TortoiseSVN").
You will probably have to remove your projects from eclipse before importing them again because all hidden .svn directories will be deleted and only the one at the base of your SVN repository will remain.

Subversive SVN Connectors does not appear in eclipse juno

the Subversive SVN Connectors does not appear after rebooting eclipse Juno IDE after installing svn from the eclipse marketplace.
any ideas?
Because of this issue i cannot assign a svn connector to the svn eclipse plugin so therefore it cannot do any svn features at all.
i am running windows 8 and tried to run eclipse in Admin mode but still no joy. anywhere i can download the connectors manually and if so, where do i install it?
Might help someone...
From polarion use this update site.
I installed just
subversive SVN Connectors
SVNKit 1.7.5.v1 Implementation
SVN Team provider connectors source
After this I found in eclipse preferences Team->SVN has the svn kit 1.7.5 selected and everything started to working.
Just remove .metadata folder in your workspace directory and restart
then windows -> preference -> team -> svn click. It will appear
For me, switching to a fresh workspace fixed the issue. I followed this link. The automatic connector discovery tool popped up once I switched to a new workspace.
I cannot add new comments. Just facing same problem. Updating #Saran answer:
Eclipse Mars site is
http://community.polarion.com/projects/subversive/download/eclipse/5.0/mars-site/
Eclipse Luna site is
http://community.polarion.com/projects/subversive/download/eclipse/4.0/luna-site/
Eclipse Kepler site is
http://community.polarion.com/projects/subversive/download/eclipse/3.0/kepler-site/
You can install svn conectors manually from there.
(Remember: Help menu -> Install new software -> paste site url)
Can I suggest the CollabNet Eclipse desktop instead of the Marketplace SVN?
http://desktop-eclipse.open.collab.net/
I've found its installation to be much less painful than any other way of getting SVN into Eclipse.
Switching workspaces worked.
Also for newer Subversive version`s, the connectors show on the:
windows > preferences > team > svn (in a tab inside this window), instead of the old svn > connectors menu.
Close your Eclipse.
In your workspace directory, open (.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.svn.ui.prefs).
Change the option firstStartup=false to firstStartup=true.
Re-open Eclipse again.