Subversive Connector Discovery is not opening in Eclipse Kepler - eclipse

Subversive Connector Discovery is not opening in Eclipse Kepler 64 (Ubuntu 13.04 64). So, I've installed SVNKit 1.7.9 + JNA Library 3.4.0 connector from directly http://eclipse.svnkit.com/1.7.x, but the connector is not appearing in
Window >> Preferences >> Team >> SVN >> SVN Connector (tab).
When I tried add a new repository in "SVN Repository Exploring" view, I'm getting this:
SVN: '0x00400006: Validate Repository Location' operation finished
with error: Selected SVN connector library is not available or cannot
be loaded. If you selected native JavaHL connector, please check if
binaries are available or install and select pure Java Subversion
connector from the plug-in connectors update site. If connectors
already installed then you can change the selected one at:
Window->Preferences->Team->SVN->SVN Connector. Selected SVN connector
library is not available or cannot be loaded. If you selected native
JavaHL connector, please check if binaries are available or install
and select pure Java Subversion connector from the plug-in connectors
update site. If connectors already installed then you can change the
selected one at: Window->Preferences->Team->SVN->SVN Connector.
I've installed Oracle Java 8, subversion 1.7.5 and libsvn-java in my Ubuntu.
Any suggestions?

The problem was fixed. I just had installed incompatible SVN connector.

Related

SVN Eclipse Subversive plugin and local repository

I need to learn SVN plugin Eclipse Subversive.
I want to use my file system to fake a real repository server.
So I used something like this on my terminal (using windows) :
"svnadmin create repository"
It created a repository. Now when using Eclipse, I'm trying to define with Subversive plugin a repository server (I want to use the repository "repository" I just created) :
But when I validate I got this error message :
SVN: '0x00400006: Validate Repository Location' operation finished with error: Selected SVN connector library is not available or cannot be loaded.
If you selected native JavaHL connector, please check if binaries are available or install and select pure Java Subversion connector from the plug-in connectors update site.
If connectors already installed then you can change the selected one at: Window->Preferences->Team->SVN->SVN Connector.

SVN Checkout As Error

I installed both m2e.subversive and Subclipse onto eclipse, but when I tried to paste in an svn URL it gives me the error below. I've looked around the net but can't seem to find a solution.
SVN: 'Checkout As' operation finished with error
Selected resource is not cCheckhecked out.
Selected SVN connector library is not available or cannot be loaded.
If you selected native JavaHL connector, please check if binaries are available or install and select pure Java Subversion connector from the plug-in connectors update site.
If connectors already installed then you can change the selected one at: Window->Preferences->Team->SVN->SVN Connector.
If you have already installed a connector, this sounds like Eclipse bug 518033. See comment 7 for a workaround.

Subversive SVN Connector installation fails in Eclipse Oxygen

The installation of the Subversive SVN Connectors currently fails with Eclipse Oxygen.
eclipse.log
!ENTRY org.eclipse.team.svn.core.svnnature 4 0 2017-07-03 10:55:36.977
!MESSAGE SVN: 'SVN Decorator' operation finished with error
!SUBENTRY 1 org.eclipse.team.svn.core.svnnature 4 0 2017-07-03 10:55:36.977
!MESSAGE SVN: 'SVN Decorator' operation finished with error: Selected SVN connector library is not available or cannot be loaded.
If you selected native JavaHL connector, please check if binaries are available or install and select pure Java Subversion connector from the plug-in connectors update site.
If connectors already installed then you can change the selected one at: Window->Preferences->Team->SVN->SVN Connector.
!STACK 0
org.eclipse.team.svn.core.operation.UnreportableException: Selected SVN connector library is not available or cannot be loaded.
If you selected native JavaHL connector, please check if binaries are available or install and select pure Java Subversion connector from the plug-in connectors update site.
If connectors already installed then you can change the selected one at: Window->Preferences->Team->SVN->SVN Connector.
See also the bug report in the eclipse bugzilla https://bugs.eclipse.org/bugs/show_bug.cgi?id=518033
You can manually install the Subversive SVN Connectors by adding the update site http://community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/ (check latest stable update site here: https://polarion.plm.automation.siemens.com/products/svn/subversive/download) and installing the necessary packages, e.g. for native 1.9.x in Eclipse x86:
Subversive SVN Connectors
Native JavaHL 1.9 Implementation
JavaHL 1.9.3 Win32 Binaries
Yes, I had the same problem.
My environment is eclipse jee oxygen1.
I installed the subversive first.
And when the eclipse popup the install connectors dialog and I select the connector, eclipse doesn't install the connector.
In the preference -> SVN page, the connector combo box is empty.
I solved as belows.
install new software by
http://community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/
select Subversive SVN connectors, and SVNKit implementation both.
The important is not only select Subversive SVN connectors, but also SVNKit implementation.
install and restart.
[edited in 2018-06-29]
As for eclipse photon, the svn connector problem seems to be resolved.
Just install svn plugin(subversive) through eclipse marketplace.
(eclipse marketplace locates in "Help - Eclipse Marketplace")
set svn connector in the preference
(window - preferences - team - SVN - SVN connector tab)
[edited in 2023-01-26]
Unfortunately, this website doesn't work anymore.
( http://community.polarion.com/ )
So, you would have to install subclipse not subversive.
I had the same problem.
Like lazlev answered, I tried to manually install the Subversive SVN Connectors by adding the update site http://community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/ in the "Install new software" window.
When I chose Subversive SVN Connectors and SVNKit packages, I got the following error as MscG mentionned:
An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase. session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTru‌​st, operand=, action=). Error reading signed content. Exception in opening zip file: \plugins\org.polarion.eclipse.team.svn.connector_6.0.‌​4.I20161211-1700.jar
The only way I could work around this is by:
-Install SVN connector alone first. Restart Eclipse.
-Then go back to Install new software and install SVNKit alone. Restart Eclipse.
I'm Using Spring Tool Suite 3.9.0 which is based on eclipse oxygen 4.7.0 and encountered the same problem.
From The Help / MarketPlace menu I installed "Subservive - SVN Team Provider 4.0.5"
Then I had to manually install the svn connector with the Help / Install new software menu. I used this URL : "http://community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/" And choosed the SVNKIT 1.8.14 ( tried the 1.8.15 but it didn't worked ... )
As a result, I finally obtained a connector in the Preference/Team/SVN/SVN connector menu...
It worked better with the preceeding version of STS...
The problem seems to be the 64bit eclipse as the JavaHAL only exists in 32bit
Thanks for the hint.
I did exactly the same steps on ubuntu using the url mentioned for both steps (svn connector and svnkit): http://community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/
It doesn't work with the latest version of SVNKit using svnkit url.
For those who above workarounds didn't resolve their problems, upgrade Eclipse Oxygen 1 to Eclipse Oxygen 3a. Seems to work like a charm with Subversive - SVN Team Provider 4.0.5
Reinstalling did the trick for me.
In eclipse go to help>Eclipse Marketplace search again for svn. click on installed. Update.

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.

Help installing Eclipse svn connector on Mac OS X

Installed SVN on Mac OS 10.6.4. Also installed Eclipse and want to use SVN from Eclipse. Found several sites for update/downloading/installing SVN Connector and/or SVN Team Connector and added them to update locations. Installed SVN Connector, plug-in, etc.
Next tried to Import the SVN structure using SVN connector, but this failed. Got message: "SVN : Validate Repository location finished error: Selected SVN connector library is not available or cannot be loaded.... If connectors already installed then you can change the selected one at: ... Preferences>Team->SVN->SVN Connector...
Went to the Preferences place and found that there were no choices of installed SVN connectors.
Since there appear to be multiple sites for Eclipse SVN integration, which site(s) should I be using?
What do I need to do Import my SVN structure to Eclipse?
I recall just downloading the connectors manually. I had no luck with that automatic thing. I'm using the SVNKit 1.3.3 r6649 (for SVN 1.6.11, all platforms) and it works fine.
You can find the following information at http://www.eclipse.org/subversive/downloads.php
Subversive distribution consists of two parts - Subversive plug-in and Subversive SVN Connectors. Both parts are required in order to work with Subversive. Subversive plug-in is provided under the terms and conditions of the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available at http://www.eclipse.org/legal/epl-v10.html. Subversive SVN Connectors are external libraries with their own licenses, which are distributed from an external location at www.polarion.com.
Next, go to the polarion site. It says you can use the discovery to find connections, but:
you can optionally use the update sites below to get them.
The connectors should be located at http://community.polarion.com/projects/subversive/download/eclipse/2.0/helios-site/. Use that URL as the repository location.
I had similar problems, if the connectors were installed before or with the base package. I suggest removing all SVN related plug-ins, and starting again:
First by installing the Subversive package, and then after a restart using the Connector Discovery tool to install the connectors. This way I always ended with a working solution.
If this solution does not work for you, then you might also want to try the Subclipse plug-in, that installs both the plug-in and the connectors automatically.