[ACCEPTED]-Adding a SVN repository in Eclipse-subclipse

Accepted answer
Score: 19

This is a dead topic, but the solution is 9 to install a client adapter along with Subclipse.

Take 8 a look at this, and install SVN Client Adapter, SVNKit 7 Adapter, and SVNKit Library.

Then check under 6 Window -> Preference -> Team -> SVN 5 and make sure there is an entry for SVN 4 Interface.

And for future reference, if you 3 can connect to the repository through the 2 command line, then it must be a problem 1 with the IDE.

Score: 19

It worked for me, In eclipse: Window > Preference 1 > Team > SVN: select SVNKit (Pure Java) instead JavaHL(JNI)

Score: 6

At my day job I sit behind a corporate firewall 41 protecting and caching web traffic (among 40 other things). For the most part it stays 39 out of the way. But sometimes it rears its 38 ugly head and stands firmly in the path 37 of what I am trying to do.

Earlier this week 36 I was trying to look at a cool new general 35 validation system for ColdFusion called 34 Validat, put out by the great guys at Alagad. They 33 don't have a download on the RIAForge site 32 yet, but the files are available via SVN. I 31 loaded up the subclipse plugin into my Eclipse, restarted 30 and began adding the Validat SVN repository. I 29 started getting errors abou the "RA 28 layer request failed" and "svn: PROPFIND 27 request failed on /Validat/trunk", followed 26 by an error about not being able to connect 25 to the SVN server.

I already had Eclipse 24 setup with my proxy settings, so I thought 23 I was doing something wrong or Alagad didn't 22 actually have the subversion repository 21 up-and-available. After going home that 20 night, I tried it from home and wa-la it 19 worked. Stupid proxy server! So the subclipse 18 plugin won't use the Eclipse proxy settings. (Can 17 that be fixed please!). After digging around 16 the subclipse help site and being redirected 15 to the collab.net help, then unproductively 14 searching through the eclipse workspace, plugins, and 13 configuration folders for the settings file, I 12 was finally able to figure out how to set 11 up subclipse to use the proxy server.

In 10 my Windows development environment, I opened 9 the following file: C:\Documents and Settings\MyUserId\Application 8 Data\Subversion\servers in my favorite text 7 editor. Near the bottom of that file is 6 a [global] section with http-proxy-host 5 and http-proxy-port settings. I uncommented 4 those two lines, modified them for my corporate 3 proxy server, went back to the SVN Repository 2 view in Eclipse, refreshed the Validat repository 1 and Boom! it worked!

from http://www.mkville.com/blog/index.cfm/2007/11/8/Using-Subclipse-Behind-a-Proxy-Server

Score: 3

Try to connect to the repository using command 7 line SVN to see if you get a similar error.

$ svn checkout http://svn.python.org/projects/peps/trunk

If 6 you keep getting the error, it is probably 5 an issue with your proxy server. I have 4 found that I can't check out internet based 3 SVN projects at work because the firewall 2 blocks most HTTP commands. It only allows 1 GET, POST and others necessary for browsing.

Score: 3

I doubt that Subclipse and then SVN can 12 use your Eclipse proxy settings. You'll 11 probably need to set the proxy for your 10 SVN program itself. Trying to check out 9 the files using SVN from the command line 8 should tell you if that works.

If SVN can't 7 connect either then put the proxy settings 6 in your servers file in your Subversion 5 settings folder (in your home folder).

If 4 it can't do it even with the proxy settings 3 set, then your firewall is probably blocking 2 the methods and protocols that Subversion 1 needs to use to download the files.

Score: 3

When trying to connect to the Collabnet 9 subversion from eclipse I was also getting 8 the same error as 'Peter Hilton' described 7 in his original post. I changed the settings 6 of Active Provided from 'Native' to 'manual' in 5 windows->Preferences->General->Network Connections. This 4 worked for me. I think this was a proxy 3 problem but with my old settints eclipse 2 was connecting to the internet from where 1 i DOWNLOADED THE subversion plugins.

Score: 2

It is probably of little help to you, but 7 I enter that URL into Subclipse and the 6 repository adds fine and I can browse and 5 Show History on it.

Do you perhaps need to 4 configure a proxy? You have to configure 3 that in the Subversion runtime configuration 2 area as Subclipse uses the Subversion libraries 1 to connect to the server.

Score: 1

Do you have any working repositories in 20 this instance of eclipse?

I've had problems 19 in the past with the default Subclipse subversion 18 client on Windows, you need to make sure 17 the native subversion client is installed 16 and correctly configured (I've got TortoiseSVN 15 to work in the past) if you want to use 14 the default client adapter.

On a recent install 13 I tried the "beta" drivers (I have Eclipse 12 Ganymede and "SVNKit (Pure Java) SVNKit 11 v1.2.0.4502") that you can optionally install 10 with Subclipse and they worked pretty much 9 straight out of the box, although a colleague 8 found he had to go through a few hoops to 7 make sure Eclipse installed them (and their 6 dependancies) correctly.

Here are the packages 5 that appear in "Help" -> "Software Updates" -> "Installed 4 Software":

Subclipse                  1.4.0
Subversion Client Adapter
SVNKit Client Adapter
SVNKit Library   

These are probably a little out 3 of date now, and the latest version will 2 probably work better, but this is what I 1 can see working right now.

Score: 1

I found this problem when I changed my SVN 10 password.

How to resolve First, remove Subversion 9 folder in {Documents and Settings}{user 8 login}\Application Data\Subversion -> It 7 doesn't work

After, rename my current user 6 login profile from {Documents and Settings}{user 5 login} to {Documents and Settings}{user 4 login}_bakup and login agian -> It work...

I 3 assumed -> SVN or JavaHL bind authorized 2 user with {user login} or keep it in user 1 profile of window.

Score: 1

I has the same problem. McAFee had blocked 3 the eclipse. solve it in the manager McAFee> Firewall> progamas 2 internet connection to> find the eclipse 1 and allow full access.


Score: 1

I was facing this problem and, as mentioned 6 previously here, I changed the "servers" file 5 under Subversion folder in "C:\Users\userid\AppData\Roaming\Subversion". There, in 4 the file's bottom, there is a [global] section. I 3 removed the comments from

http-proxy-host 2

I 1 set those guys and it worked! :-)

Score: 0

I saw the same error and solved by switching 6 off the proxy settings in TortoiseSVN that 5 I normally need for commits to the company 4 servers. I installed Subclipse to back up 3 my own non-prime-time stuff to a local repository 2 (using VisualSVN). I use Eclipse Galileo 1 3.3 and Subclipse 1.6.12.

Score: 0

Necropost, but helpful: I came across this 6 problem with an RA request failed since 5 the files "already existed on the server" but 4 wouldn't sync with my repository. I went 3 to the source on my disk, deleted there, refreshed 2 my Eclipse view, and updated the source. Error 1 gone.

Score: 0

In my case was an access issue. I needed 2 to change the protocol to svn+ssh instead 1 of http.

For example, instead of http://svn.python.org/projects/peps/trunk

try svn+ssh://svn.python.org/projects/peps/trunk

Score: 0

You might want to check if the websecurity 3 of vpn client is the issue. I uninstalled 2 it and it worked fine..Found the solution 1 here https://superuser.com/questions/471089/svn-connection-not-successful

Score: 0

I have exactly the same issue with you. I 14 have TortoiseSVN installed on my windows, I 13 have also eclipse installed, in the eclipse, I 12 have the subclipse 1.4 installed.

here is 11 the issue I have proxy settings, I can open 10 the repo through web browser, for some reason, I 9 cannot open a repo through svn. I tried 8 to change the proxy following the link below 7 Eclipse Kepler not connecting to internet via proxy. It doesn't work.

Finally I found out a 6 solution

You have to change the proxy setting 5 in TortoiseSVN. After I enable the proxy 4 setting the same with my browser. The issue 3 is gone.

here is the link of how to enable 2 proxy setting in TortoiseSVN https://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-settings.html Seach "Network 1 Settings" on the page above

Score: 0

In my case, im getting the similar exception 6 when trying to checkout the project from 5 SVN repo it is prompting for the username 4 and password and i was giving the wrong 3 username every time, when i gave the correct username and password its 2 started working fine..... Such a simple 1 and Hardstopping message.....

More Related questions