I'm not sure about my SVNRepository

Former SVN Browser
thepiter
Posts: 1
Joined: Tue Mar 14, 2006 9:19 pm
Contact:

I'm not sure about my SVNRepository

Postby thepiter » Tue Mar 14, 2006 9:31 pm

Hi!
I'll try to configure my subversion polarion web client, but I'm not sure about what to put in the web.xml


a) set "SVNRepository" parameter value to full URL to SVN repository (for example:http://localhost/subver)

Code: Select all

   
<!--
        Set the Subversion repository URL
        Values: Full http URL to repository. Please note that svn and file protocol are not supported.
        Example: http://ws001/repos
    -->
    <context-param>
        <param-name>RepositoryUrl</param-name>
        <param-value>http://ws001/repos</param-value>
    </context-param>


I've subversion 1.2.3 installed on a Win32, and apache 5.5.9
I download jstl.jar.
I have my root repository in C:\svnrepository

How to use the Full http URL to repository. because the web.xml says "Please note that svn and file protocol are not supported".
how to make refence like and URL?
I must to run svnsever to listen like URL?

ivinnykov
Posts: 473
Joined: Tue Jan 03, 2006 11:57 am
Location: Kharkiv, Ukraine

Postby ivinnykov » Sat Mar 18, 2006 10:57 am

Dear thepiter,

When you work with SVN you have following abilities:

1. Work with local repositories (located in your computer) using file protocol. URLs in this case begin with file:// schema.

2. Use custom SVN protocol. In this case you need to start svnserve program, which will handle it. The svnserve program is a lightweight server, capable of speaking to clients over TCP/IP using a custom, stateful protocol. Clients contact an svnserve server by using URLs that begin with the svn:// or svn+ssh:// schema.

3. Follow most widely used approach and use WebDAV/DeltaV protocol, which is an extension to HTTP 1.1. In this case you should install SVN module in Apache, which will handle it. URLs in this case begin with http:// schema.

You can find more details in excellent free book "Version Control with Subversion" http://svnbook.red-bean.com/

SVN Web Client currently supports only HTTP protocol, so you need to setup your Apache server correspondingly. After setup of Apache you will be able to refer your repository by some URL configured in Apache. This URL you should define in SVN Web Client web.xml settings.

For example Apache settings (Apache2\conf\httpd.conf) look like following:
ServerName localhost:80
............
<Location /repos>
DAV svn
SVNPath c:/Applications/Development/SCM/Subversion/repos
</Location>
In this you can refer your repository by URL http://localhost/repos. In order to verify that you setup Apache correctly you can follow this URL in browser (even without SVN Web Client) and see simple default view of your repository.
Best regards,
Igor Vinnykov
Polarion Team


Return to “Polarion SVN Web Client”

Who is online

Users browsing this forum: No registered users and 2 guests