Welcome to the Homepage of Senthil Nachimuthu
Eclipse - use http proxy with Subclipse Print E-mail
User Rating: / 0
PoorBest 
Friday, 07 December 2007
I do some work at a health care institute which uses authenticated proxy for web access. I also have some code on a sourceforge site (Projeny) on sourceforge's SVN server. I tried configuring proxy within Eclipse but this wouldn't let me check out the project from the Subversion repository using Subclipse. Read on for proxy configuration.

My environment: 64-bit Linux, with 64-bit Eclipse Europa (3.3.x) running on a 64-bit JVM (of course!), with the Subclipse plug-in v1.2.4 installed.

Now, I needed to check out my code from sourceforge.net's subversion repository. The code belongs to my project Projeny, which is a front-end for BNT (Bayes Net Toolbox).

I have configured Eclipse to use a http proxy with authentication for both http and https. In spite of this, when I try to check out my project from the SVN repository, I get a time-out error because Subclipse cannot connect to the SVN server.

I found from the Subversion website that the proxy server is configured in the ~/.subversion/servers file. The Subclipse plug-in reeads this file instead of the setting in Eclipse (duh!).

 So, modify your ~/.subversion/server file to have these lines:

[global]
http-proxy-exceptions = *.example.com
http-proxy-host = proxy.example.com
http-proxy-port = 8080
http-proxy-username = myuserid
http-proxy-password = mypassword

By the way, if you are new to Linux, the tilde sign (~) denotes your home directory (of the user who runs Eclipse). The configuration is similar in Windows too, I think. Check out the following website for more information:

https://www.opends.org/wiki//page/ConfiguringSubversionToUseAProxyServer 

 





Digg!Reddit!Del.icio.us!Google!Live!Slashdot!Netscape!Technorati!StumbleUpon!Spurl!Newsvine!Furl!Blogmarks!Yahoo!Ma.gnolia!Free social bookmarking plugins and extensions for Joomla! websites!
 
< Prev
Creative Commons License Copyright 2004-2008 Senthil Nachimuthu. Some rights reserved. The original work on this website is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.
Powered by Joomla