After installing the Subversion Eclipse Plugin in Eclipse, I wasn't able to add an SVN repository. I was getting the error RA layer request failed in eclipse. I realized that it was due to incorrect proxy settings that I wasn't able to connect to the SVN server. Configuring proxy in this case may not be as easy as entering the address and port number in Eclipse preferences.
To set up the proxy for the SVN server, do the following:
1. varsha@varsha-laptop:~$ cd .subversion/
2. varsha@varsha-laptop:~/.subversion$ ls
3. varsha@varsha-laptop:~/.subversion$ gedit servers
4. In the servers file, find the lines with http-proxy-host and http-proxy-port under [global] section.
5. Uncomment those lines and enter the host address and the port number respectively for http-proxy-host and http-proxy-port.
6. Save and close the editor.
7. In the SVN Repository view in Eclipse, try adding a new repository location.
Hope it works.
Note: Make sure you don't leave a space before the statements after uncommenting the two lines as said above, else you are likely to get the error Cannot map the project with svn provider.
Subscribe to:
Post Comments (Atom)


0 comments:
Post a Comment