svn插件subclipse使用http代理同步svn时出现异常(解决)

现象描述: 
对项目进行“与资源库进行同步”时弹出对话框显示以下错误信息: 
同步 SVNStatusSubscriber 时报告了错误。1 中的 0 个资源已经同步。 
同步 /MMonitorLogistics 时发生错误:Error getting status for resource P/MMonitorLogistics org.apache.subversion.javahl.ClientException: svn: E175002: unknown host 
svn: E175002: OPTIONS request failed on '/svn/DevelopmentProject/Project/MMoni.blogtorLogistics/trunk' 
Error getting status for resource P/MMonitorLogistics org.apache.subversion.javahl.ClientException: svn: E175002: unknown host 
svn: E175002: OPTIONS request failed on '/svn/DevelopmentProject/Project/MMonitorLogistics/trunk' 
org.apache.subversion.javahl.ClientException: svn: E175002: unknown host 
svn: E175002: OPTIONS request failed on '/svn/DevelopmentProject/Project/MMonitorLogistics/trunk' 
org.apache.subversion.javahl.ClientException: svn: E175002: unknown host 
svn: E175002: OPTIONS request failed on '/svn/DevelopmentProject/Project/MMonitorLogistics/trunk' 

 

解决方法: 

    1. 打开C:\Users\x\AppData\Roaming\Subversion,  x为当前登录用户名称;
    2. 编辑文件servers,在142行[global]下一行加入配置。
    3. http-proxy-host = 公司代理地址
    4. http-proxy-port = 端口
    5. http-proxy-username = ap\5109V20459
      http-proxy-password = P@ssw0rd

    6. 重新同步操作即可。 
posted @ 2014-12-01 10:21  Earic  阅读(1987)  评论(0编辑  收藏  举报