Help installing Eclipse svn connector on Mac OS X - eclipse

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.

Related

Not able to checkout project from SVN in eclipse - SVN connector library not available

I am trying to import a new project from SVN repo.
I am using eclipse neon 4.6. I have added SVN plugin via eclipse market place version (image attached).
I get this error while trying to checkout .
I could see that a native connector is listed in preference but with error, I am not able to change that.
Any help will be very much helpful.
It appears that JavaHL cannot initialize in your Subversive plug-in. Maybe you installed 64-bit JavaHL connector on 32-bit machine or vice-verse? Anyway, you can follow steps of section Enable JavaHL in Subversive plug-in for Eclipse from the article KB145. The article shows how to activate JavaHL in Subversive and Subclipse plugins and the instructions were thoroughly tested.
You can also consider switching from Subversive to Subclipse. I did not see similar problem with Subclipse - it worked right away after installation without issues.

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.

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.

Installing SVN plugin for Eclipse on Ubuntu

I am a brand new Linux user configuring my first-ever dev sandbox in Ubuntu. I have installed Java and Eclipse and am trying to get either Subversive or Subclipse (I don't have a preference either way) but have a few questions before I start that process.
I just opened Synaptic and downloaded subversion through it.
(1) I'm not really sure how SVN deploys locally. My understanding is that SVN has a client and a server; the server manages the repository(ies) and the clieent just sends commands to the server. Is this correct? If so, then what did I download through Synaptic? The client, and/or the server?
(2) Do these Eclipse plugins come with SVN (client or server...?) or do you have to pre-install SVN prior to installing these plugins? Basically: is SVN a pre-req for Subclipse or Subversive?
Looking back at these 2 questions if someone could first explain to me the architecture of SVN, then explain how that architecture translates to downloading SVN via Synaptic, and then how it translates to downloading/installing either Eclipse plugin, I would see the "big picture" a lot better.
Thanks for any and all help!
I use subclipse with svnkit. Both can be installed from update site of subclipse. Works fine. No other sotware needed. You need to set svnkit instead of javahl. This can be done in preferences.
Installation Help/install new software.
Update sites depending on the version:
http://subclipse.tigris.org/update_1.8.x
http://subclipse.tigris.org/update_1.6.x
Setting window/preferences. (pick svkit at bottom):
You downloaded the SVN server. You can have multiple SVN clients connecting to it.
The Eclipse plugins do not come with SVN. You need to download them.
Once you install the plugin, you can connect to SVN repositories. If you want to connect to your own SVN repository, of course you need to install SVN and create it first.
However, with just the plugin installed, you can connect to any existing public repositories, or any other SVN repository to which you have access.
Example: If you install the plugin, without installing SVN, you can connect to this Apache Repository.
Hope that answers your questions.
1º question: You are correct. About Synaptic, I think it's the server one.
2º question: No, it isn't! Eclipse's plugin it's the client and you don't need to install the SVN outside the IDE. It's all embedded.
More info that could be useful:
How to configure SVN in Eclipse using Assembla repository:
Create or open your existing project in Eclipse.
Be sure that the SVN's plugin it's correctly installed into Eclipse.
Copy your project's url at the Assembla's web site.
Click with the right button over the project > Team > Share Project > SVN
At the showed window, copy the path to your project into the URL field. Remember of /trunk at the end of URL.
Inform your user (watch out, it's your user, not your e-mail) and password into the required fields and check the option: Save Authentication, otherwise your login and password will be required all the time.
Click over Finish.
The commit's screen will open for you add some comment and upload the files of your project. Remember that even being a new project, Eclipse will create all the default folder's structure for the project.
Click at Ok and it's done! Your code will be uploaded to the Assembla's online server.
Now open the Assemblas's web site, access the trunk folder into your repository and then explore your project's source code. Try the comments and see the automatic format applied over the code so it become more readable.
Here it's some advantages of Assembla service:
Unlimited useres working in the same project.
Easiness of use, create, import projects and use all the service, besides of huge documentation and support.
1 GB of space.
Online access to the source code, with the possibility of comment it.
Encrypt data traffic.
Integration with many tools of the site, which are excellent, but payed separately.
Possibility of, at any moment, hire any of the payed services, which offers an incredible amount of benefits for a fair price. (Look at the services list).
If so, then what did I download through Synaptic? The client, and/or the server?
From the Subversion package description in Ubuntu 10.10:
This package includes the Subversion client (svn), tools to create a Subversion repository (svnadmin) and to make a repository available over a network (svnserve).
So you have both the client software, and the software to create and serve your own repositories.
(2) Do these Eclipse plugins come with SVN (client or server...?)
No, you need to install subclipse.
do you have to pre-install SVN prior to installing these plugins?
As long as you install it via a package, you don't have to worry about this. The package management in ubuntu will make sure that any dependencies are installed automatically. AFAIK all package management systems of gnu\linux distributions of note have this feature.
The easiest way:
Help --> Eclipse MarketPlace, search subclipse, click install, and then follow the instructions to finish up the installation process.
One way to clear up your confusion could be to first use a free hosted Subversion repository, such as http://assembla.com.
Then you can download all of the SVN clients, including the Subclipse plugin, and commit a test project to the SVN repository on Assembla.
I recommend Subclipse as it's allegedly supposed to play nicer with other Subversion clients, which means you'll be able to use command line SVN as well as the Team context menu in Eclipse.
http://subclipse.tigris.org/
After playing with this configuration and being sure your client side is correctly configured, then you could look into installing a subversion server locally. Eliminating variables by clearly separating client and server will definitely help you avoid confusion at first.

SVN client integration into Eclipse

I had integrated a Subclipse plugin into the Eclipse to perform SVN related operations.
I had successfully checked-in, checked-out and commited my project to the SVN.
But now when I am trying to commit or update my project, it is showing the following error
org.tigris.subversion.javahl.ClientException: Unsupported working copy format
svn: This client is too old to work with working copy 'D:\EclipseWorkspace\EMSEclipse'; please get a newer Subversion client
I had tried to update the plugin through HELP >> SOFTWARE UPDATES... of the Eclipse but it is saying that the software is up to date and no newer version is available.
Should I switch to some other SVN Client. If yes, then could you please suggest me any other SVN Client for Eclipse?
Subclipse has different update sites for the 1.4 and 1.6 branches. So if you are using 1.4, it won't have updates. Get the 1.6 update site.
Whenever the subclipse plugin is not sufficient for you, you can download Turtoise SVN - it is a full-featured SVN client.
Subversive is the other Eclipse client for SVN
But for your error, the solution is indeed to upgrade. Did you check the Download and installation process?
As documented, get the right version of JavaHL.
Haven't personally seen that error before. The other popular SVN client for Eclipse is Subversive in-case you want to try that.