当前位置: 代码迷 >> Web前端 >> UBUNTU上安装配置WebClientforSVN
  详细解决方案

UBUNTU上安装配置WebClientforSVN

热度:115   发布时间:2012-08-03 00:12:14.0
UBUNTU下安装配置WebClientforSVN
WebClient for SVN

1、介绍
WebClient for SVN is a web interface for your Subversion (SVN) repository. The same client delivered in Polarion's ALM solutions, WebClient for SVN offers a convenient way of browsing repository content and history, and also enables basic write operations such as creating folders and uploading files. WebClient for SVN can connect to any subversion repository which provides HTTP access
下载
http://www.polarion.org/index.php?page=overview&project=svnwebclient
文件
svnwebclient-3.1.0.tar.gz

2、安装与配置
tar zxvf svnwebclient-3.1.0.tar.gz
mv svnwebclient.war /usr/local/apache-tomcat-5.5.26/webapps/

启动tomcat后,停止tomcat
vi /usr/local/apache-tomcat-5.5.26/webapps/svnwebclient/WEB-INF/web.xml
设置 RepositoryUrl 属性为SVN版本库路径:
<context-param>
<param-name>RepositoryUrl</param-name>
<param-value>http://www.sillycat.com/repos/</param-value>
</context-param>

设置用户名
    <context-param>
        <param-name>Username</param-name>
        <param-value>sillycat</param-value>
    </context-param>

设置密码
<context-param>
        <param-name>Password</param-name>
        <param-value>xxxxxx</param-value>
</context-param>

设置编码方式
<context-param>
        <param-name>DefaultEncoding</param-name>
        <param-value>UTF-8</param-value>
</context-param>

3、启动tomcat
可以正常登陆了