欢迎光临
我们一直在努力

mac和windows系统下eclipsesvn设置代理服务器

公司svn服务器在海外,有时候迫不得已svn也得设置代理
网上查了好长时间都只有windows下如何设置,mac系统下的教程很少。


1.在windows下设置方法如下
找到C:\DocumentsandSettings\youruserName\ApplicationData\Subversion这个目录下的servers文件,用任意一个文本编辑器打开,找到类似于如下的文字:
[global]
#http-proxy-exceptions=*.exception.com,www.internal-site.org
#http-proxy-host=proxy2.some-domain-name.com
#http-proxy-port=9000
#http-proxy-username=defaultusername
将#http-proxy-host
#http-proxy-port这两行前面的#号去掉,并将=号右边的值分别改为你的代理服务器地址和端口号即可。
2 在mac下设置方法如下
打开finder ,前往—》前往文件夹


~/.subversion  编辑 servers 文件 
# http-proxy-exceptions = *.exception.com, www.internal-site.org
http-proxy-host = my.proxy.server
http-proxy-port = 8080
# http-proxy-username = defaultusername
# http-proxy-password = defaultpassword
# http-compression = no
# http-auth-types = basic;digest;negotiate
# No http-timeout, so just use the builtin default.
# No neon-debug-mask, so neon debugging is disabled.
# ssl-authority-files = /path/to/CAcert.pem;/path/to/CAcert2.pem

 

 

赞(0)
版权声明:本文采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权
文章名称:mac和windows系统下eclipsesvn设置代理服务器
文章链接:https://www.jmwz.net/8314.html
本站资源仅供个人学习交流,请于下载后24小时内删除,不允许用于商业用途,否则法律问题自行承担。
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址