Background : svn checkout project under ubuntu using proxy
With natif configuration of svn (which is installed by apt-get), svn checkout return an error :
svn co --username your_username https://your_svn_url/
svn: OPTIONS of 'your_svn_url': Could not resolve hostname ... : Host not found
The solution is to add proxy to the defaut configuration of svn.
Edit : ~/.subversion/servers by adding :
http-proxy-host = your_proxy_host
http-proxy-port = your_proxy_port (3128 or 8080 etc)
http-proxy-username = your_proxy_username
http-proxy-password = your_proxy_password
To list the repository of remote svn :
svn list your_svn_url --username your_username --password your_password
svn ls your_svn_url --username your_username --password your_password
To see more information :
svn list --verbose your_svn_url --username your_username --password your_password
To display the out in XML :
svn list --xml your_svn_url --username your_username --password your_password
1. Configration proxy in Ubuntu :
System setting -> Network proxy as diagram below :
Apply your own configration of proxy.
2. Configration proxy for SVN :
Go to ~/.subversion folder, modify the file servers :
Uncomment these lines and add your own configration proxy :
Make sure there is no gap on either side of “=” symbol
It will works your proxy.
To display the icon of svn in eclipse :
Window => Preferences => General => Appearance => Label Decorations
Check option SVN.
And if it doesn’t work, you can also verify here :
Window => Preferences => Team => SVN => Label Decorations
I’m sure that I am not the first one who has seen the following errors when synchronizing SVN with eclipse.
Problems reported while synchronizing SVNStatusSubscriber.
0 of 1 resources were synchronized.
Working copy not locked; this is probably a bug…
And as shown in the picture :