Proper way to install SVNKit 1.7.x in Eclipse? - eclipse

Folks,
I am a bit confused on how to get SVNKit 1.7 Beta 3 to work under Eclipse Indigo.
Using the Eclipse update site mentioned at http://svnkit.com/download.php, I installed new software from http://eclipse.svnkit.com/1.7.x. I selected both the items on the list, the core SVNKit Library and optional JNA Library.
The installation seems to have succeeded. When I look at the list of installed software, I see SVN Library 1.70 Beta 3 in the list.
However, Eclipse still does not recognized that my projects are source controlled.
When I go to Preferences, all I see is SVNKit 1.3.6-v1. I do not see SVNKit 1.7.
Is there some other step that I am missing? How do I get Subversive to recognized my Subversion 1.7 based projects?
Thank you in advance for your help.
Regards,Peter

To install SVNKit as an Eclipse plugin or to make sure that you have the latest version installed, use http://eclipse.svnkit.com/1.7.x/ as an update site location in Eclipse Update Manager.
List item In Eclipse menu select Help->Software Updates
List item Then choose 'Available Software' tab
List item Click 'Add Site...' button
List item Type http://eclipse.svnkit.com/1.7.x/ in the 'Location' field and press 'OK'.
List item Check the new site (it should appear in the list of update sites) and follow further steps as prompted by Eclipse.
Use http://eclipse.svnkit.com/1.3.x/ as an update site location to get older version of SVNKit (1.3.8).

In order to install SVNKit 1.7.x for Subversive I've opened Eclipse > Help > Install new software and used the link from http://www.polarion.com/products/svn/subversive/download.php page:
http://community.polarion.com/projects/subversive/download/eclipse/3.0/kepler-site/ – [required] Subversive SVN Connectors
After that new connector appeared under Eclipse Preferences.

Just for the records, as of March 2013, Subversive does seem to work with SVNKit 1.7.
I installed both (SVNKit 1.7.8 and then Subversive Service Release 1.0.1) on Eclipse Indigo and haven't run into any problems so far.
If you want to give it a try, just make sure to uninstall the previous version first, as the Subversive latest releases page points out:
Subversive 0.7 to 1.0 Upgrade Notes
If need to update Subversive from 0.7.x to the 1.0.0 version,
uninstall the previously installed Subversive 0.7.x plug-in version
first. Otherwise during the installation process you'll be blocked by
the old connectors version that is incompatible with the 1.0.0 release
and couldn't be installed simultaneously with the main plug-in due to
the installation UI restrictions.
Regards

Yes, it works with Subclipse, but not Subversive.

Related

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.

How to install SVN Repository Exploring plugin for Eclipse

How to install SVN Repository Exploring plugin for Eclipse? My current Eclipse version is 2.6.1. it does not have SVN Repository Exploring Perspective.
Update your eclipse firstly.
Help --> Eclipse MarketPlace, search subclipse, click install, and then follow the instructions to finish up the installation process.
I highly advise you to update your Eclipse instead of trying to make the plugins work with the obsolete version of the IDE. You will encounter numerous issues in order to make the plugins work with older versions of the IDE since most of the plugins require atleast the 3.4 version of Eclipse to function properly. You will need to dig the archives to find older version of plugins and then some-how make them compatible with the older eclipse
My adivse, download (not update) the latest version of eclipse from the official website. I believe the latest version in use is 4.3.1.
Update : The latest version in use is now 4.4.1 (Luna)
Did you try Help -> Install New Software -> All Available sites
There you can select SVN plugin. try to install
You can add a particular site there, for example 'http://subclipse.tigris.org/' and select the SVN Version as per the Eclipse and trying referring it from 'Help > Install New Software > Add Site' .
Hope this helps.

Cannot install Mercurial on Eclipse Juno

Attempting to install Mercurial on Eclipse Java EE IDE Juno from
http://cbes.javaforge.com/update in the Install new software...
but,
"Cannot complete the install because one or more required items could not be found. Software being installed: codeBeamer Eclipse Studio (with Mylyn) 3.1.0.v201011161842 (org.codebeamer.eclipse.mylyn_feature.feature.group 3.1.0.v201011161842) Missing requirement: codeBeamer Eclipse Studio (with Mylyn) 3.1.0.v201011161842 (org.codebeamer.eclipse.mylyn_feature.feature.group 3.1.0.v201011161842) requires 'org.eclipse.mylyn_feature.feature.group 3.3.0' but it could not be found
I tried on Windows 7_64 and ubuntu 12.04_64. I even installed mylyn using the latest stable releases from http://download.eclipse.org/mylyn/releases/latest
Any Ideas?
Already browsed web and this site.
You could also try the update URL from the Google Code repository instead, which installs only MercurialEclipse.
+1 to installing from Google Code Repository.
Initially Eclipse wouldn't start because of problems with the older version of the plugin so to get past this simply removed the jar com.vectrace.MercurialEclipse_1.9.1.v201111302231.jar from the Eclipse plugins directory then uninstalled the existing plugin and re-installed from the link in smooth reggae's post.
All seems good so far.
The problem is, that the codeBeamer Eclipse Studio requires an older version of Mylyn (3.3.0), which isn't available for Juno.
But AFAIK you don't need the whole CBES, if you only need the Mercurial features. Try to select only MercurialEclipse, it should also be available in that update site.

subclipse: Unable to load default SVN Client

I am constantly getting this error when working with eclispe and the subclipse plugin:
Unable to load default SVN Client
I have already installed both the SVNKit and the JavaHL provider, but it can't be found in the preferences:
I am using eclipse for win64bit
I had this problem after installing the latest eclipse and installing subclipse from the marketplace. To resolve you can follow these steps:
Click Help >> Install New Software...
Set Work with: Subclipse 1.10.x Update Site - http://subclipse.tigris.org/update_1.10.x
Ensure Hide items that are already installed is checked.
Click Select All.
Click Next.
Complete the remainder of the installation as usual.
For ubuntu 12.04 amd64
sudo apt-get install libsvn-java
add this to eclipse.ini after -vmargs:
-vmargs
-Djava.library.path=/usr/lib/jni:/usr/lib/x86_64-linux-gnu/jni
...
What JavaHL provider have you installed? It sounds like you need 64 bit JavaHL support. Have you tried SlikSVN?
I solved this with easiest way:
sudo apt-get install libsvn-java
sudo cp /usr/lib/jni/* /usr/lib
Faced the same problem after installed subclipse 1.8 from eclipse marketplace and resolved thru following steps:
1. Install subversion client (required)
2. Install Subversion JavaHL Native Library Adapter (required)
And it works now.
P/S: Eclipse Indigo
I don't know about JavaHL but to make the SVNKit appear on the list of SVN interfaces, you need to install the "SVN Client Adapter" and the "SVNKit Adapter" as well.
You can find those on the update site of Subclipse (*http://subclipse.tigris.org/update_1.8.x*).
I have a similar problem with Subclipse 1.8. Due to licenses limitations, SVN client aren't bundled with SVN any more. So I find the message "Unable to load default SVN Client".
My solutions is to install SVN client. It can't be easier. Go to Eclispe Marketplace, type Subclipse and click to install Subclipse again, select all options. When restarting Eclipse, it will prompt us to install an SVN client, choose SVNKit or JavaHL (I choose JavaHL). After restarting one more time, it all works.
In fedora 16 on x64 i meet also, i solved by downloading subversion 1.7 from here and installing:
yum install subversion-javahl-1.7.1-1.fc16.x86_64.rpm subversion-libs-1.7.1-1.fc16.x86_64.rpm subversion-1.7.1-1.fc16.x86_64.rpm
Install SVN on Eclipse Juno using the update site at http://subclipse.tigris.org/update_1.8.x
Go to Help -> Install new software, then Add update site.
Zend Studio 9 if you upgrade/update to 9.0.3 you will get this error as well. You need to uninstall all subEclipse and JavaHL stuff then follow the install procedures again and restart Zend studio.
Build 20120625 in Zend Version 9.0.3
If you are using the Subversive plugin (which is newer than the Subclipse one, and the two are easily confused with one another), you might run into problems finding the library even after configuring the library path in eclipse.ini. To fix the entire problem, you might need to add this setting to the file as well:
-Dsubversion.native.library=C:/SlikSVN_JavaHL/libsvnjavahl-1.dll
Read http://www.eclipse.org/subversive/installation-instructions.php for more help, it's a good-quality explanation of everything.
I had same problem with Spring STS 3.5.1 and Sub eclipse version 1.6. Upgraded to version 1.10 of subeclipse and everything is working fine.
The above problem arises with custom eclipse installation and due to updated version of subclipse.
You have to install the older version of subclipse manually.
For this i have done as following:
Under Help menu click "Install New Software..."
Select "http://subclipse.tigris.org/update_1.6.x" from the drop down menu
If URL of any other advanced version of are available change it to look as above.
Check the options selected are sensible e.g. "Hide items that are already installed"
Click "Select All"
Click Next/Finish through to completion.
After finishing the installation,under windows menu go to preferences,click on Team and on SVN.
Now change the client from Java HL to SVN pure kit.
That's it.
This resolved problem for me
Eclipse Java EE IDE for Web Developers.
Version: Oxygen.3a Release (4.7.3a)
Build id: 20180405-1200
I solved this problem as follows
1) Install Subversive - SVN Team Provider 4.0.5 from marketplace
2) Team -> SVN -> SVN Connectors and set SVNKit 1.8.14
3) Restart eclipse
All works well

Getting Subclipse in Aptana to work with the newest release of Subversion

The version of Subclipse (1.2.4) currently available through Aptana's automatic Plugins Manager does not work with the newest version of Subversion.
I see on the Subclipse website however that they have 1.4.2 out for Eclipse. So I added a new remote update site to my Update manager. When I tried to install it, it told me I needed Mylyn 3.0.0. So after much searching I found Mylyn 3.0.0 and added another new remote update site to my update manager. Then when I tried to install that, it told me I needed org.eclipse.ui 3.3.0 or equivalent.
Looking at the configuration details for Aptana, it looks like it is built against eclipse 3.2.2.
Does anyone know if there is a way to upgrade the version of Eclipse Aptana that is built against to 3.3.0? Or if there is some other way to get Subclipse to work with the very newest version of Subversion?
I know this isn't necessarily a "programming" question, but I hope it's ok since it's highly relevant to the programming experience.
Subclipse does not require Mylyn, but the update site includes a plugin that integrates Mylyn and Subclipse. This is intended for people that use Mylyn. In your case, you would want to just de-select Mylyn in the update dialog.
Subclipse also requires Subversion 1.5 and the corresponding version of the JavaHL native libraries. I have written the start of an FAQ to help people understand JavaHL and how to get it. See: http://desktop-eclipse.open.collab.net/wiki/JavaHL
I've had problems with JavaHL in Eclipse Ganymede, when it worked fine in Eclipse Europa. I'm not sure how Aptana is different, but try either upgrading JavaHL or switching to the pure-java SVNKit implementation within the Subclipse config.
if you're not going to be using mylyn just uncheck that dependency. I'm not really familiar with Aptana, but in eclipse you can expand whats being installed and uncheck anything you don't need.
I used the update url and I installed the JavaHL adapter, the Subclipse project itself and the SVNKit adapter BETA.
After this it worked fine for me, this is for linux platform hope it works for you.