【Google code】给SVN设置代理的方法

10年01月07日

最近在公司想要公布Google code上的东西,可是很多兄弟和我一样,公司基本都是代理上网,svn又不能直接设置代理,那该当如何是好?

下面我来介绍一下,当我们用svn时候,会在我们的系统盘下面生成一个svn的配置文件,只要在这个配置文件中设置一下即可

具体做法如下:
1、在C:\Documents and Settings\Administrator\Application Data\Subversion的server配置文件下找到[global]节点

2、修改[global]节点

修改前:
[global]
# http-proxy-exceptions = *.exception.com, www.internal-site.org
# http-proxy-host = defaultproxy.whatever.com
# http-proxy-port = 7000
# http-proxy-username = defaultusername
# http-proxy-password = defaultpassword
# http-compression = no
# 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

修改后:
[global]
# http-proxy-exceptions = *.exception.com, www.internal-site.org
http-proxy-host = 代理地址
http-proxy-port = 代理端口
http-proxy-username = svn用户名
http-proxy-password = svn密码
# http-compression = no
# 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

注:“#”表示注释,所以我们要放开这4个“#”

经过修改后,你的svn就可以用啦。。。。。。






相关文章:

  1. Apache+Tomcat+Php+Mysql的集成
  2. Struts2+Spring+Hibernate整合入门详解
  3. eclipse 插件及技巧 整理一
  4. 【Struts2学习要点】如何设置开发模式
  5. 通过java.net.URL类抓取某个网页的内容



  • 原文链接: http://www.astesys.com/hot/616.html
  • 转载文章请注明: 爱思特
  • 发表评论