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

公司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

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值