configuring web.xml for multiple repository

Former SVN Browser
Posts: 1
Joined: Tue Feb 01, 2011 4:56 pm

configuring web.xml for multiple repository

Postby npatel » Tue Feb 01, 2011 5:01 pm

Dear Sir/Madam,

I just downloaded latest SVN Web Client and it is working fine with Jira. The problem is currently it is configured for only one repository and I would like to add 3 - 4 more repositories (including couple of them are on different servers). I don't know how I can do that...also each repository needs different username/password and how it would recognize which credential is for which repository.

I read about "parentrepository" thing...but couple of repositories are completely on different server, so that is not even parent/child related...

Thanks for your time in advance.

Nital Patel

Posts: 4
Joined: Wed Dec 17, 2008 10:47 pm

Re: configuring web.xml for multiple repository

Postby dave.barker » Tue Feb 22, 2011 4:16 pm


What you want is not possible with the Polarion software, the parent directory does work although not well documented...

I would install the web client on each of the servers that you need to get access to; or find another client....

All the best


Posts: 1
Joined: Tue Feb 01, 2011 12:43 pm

Re: configuring web.xml for multiple repository

Postby achance1211 » Thu Jun 09, 2011 10:44 am

Hi There,

It is possible to configure a parent subversion directory with multiple directories underneath it.
Apache needs to be set up first to look at the parent directory. A working example of file configuration settings is shown below.
Server names, port numbers and repository directory names will need to be changed to match an individual systems requirements.
This is also using basic Apache authentication.

Apache httpd.conf (or subversion.conf if included in httpd.conf file):-
<Location /Repository>
DAV svn
SVNParentPath C:/Repository
SVNListParentPath on

AuthType Basic
AuthName "Subversion repo1 Repository"
AuthUserFile c:/etc/svn_authorisation_file
AuthzSVNAccessFile c:/etc/svn_groups

Require valid-user


The 'Repository' name defined in the <Location ...> node now becomes part of the prefix for any URL accessing your SVN repositories.
The (repo1, repo2) values below are the SVN repository directory names under SVNParentPath

svn_groups file taken from AuthzSVNAccessFile value:-
admin = dave
users = sid, sue, sam

@admin = rw
@users = rw
* = r

@admin = rw
@users = rw
* = r

svnwebclinet web.xml file:-



The port number used on each of these URL scripts is the port number used by Apache Tomcat. file:-

# WebClient for SVN


Within Jira administrator
Navigate to: Administration > Global Settings > Subversion Repositories

Add or edit a subversion repository; required fields (remove the gap between 'changedResource.jsp? ^ location' if you are copying, as the wiki page formats this section badly):-
* Display Name: Repo2
* Repository Root: http://svnserver/Repository/repo2
* Revision Indexing: (select Index and link to any mentioned issue keys in the revision history)
* Revision Cache Size: 10000
Web Link: WebClient for SVN
View Format: http://svnserver:8081/svnwebclient/changedResource.jsp? location=repo2&url=${path}&rev=${rev}&action=add
Changeset Format: http://svnserver:8081/svnwebclient/revisionDetails.jsp? location=repo2&rev=${rev}
File Added Format: http://svnserver:8081/svnwebclient/changedResource.jsp? location=repo2&url=${path}&rev=${rev}&action=add
File Modified Format: http://svnserver:8081/svnwebclient/changedResource.jsp? location=repo2&url=${path}&rev=${rev}&action=modify
File Replaced Format:http://svnserver:8081/svnwebclient/changedResource.jsp? location=repo2&url=${path}&rev=${rev}&action=replace
File Deleted Format: http://svnserver:8081/svnwebclient/changedResource.jsp? location=repo2&url=${path}&rev=${rev}&action=delete

§ Remember to include the port number for the URL to access Apache Tomcat.
§ Remember to include the location attribute to match the repository name that you will be accessing.

Your URL's should look something like the following with the location attribute showing the repository name and you must sign on to Jira each time you wish to
change which repository you wish to access:

http://svnserver:8081/svnwebclient/file ... &endrev=11


Posts: 3
Joined: Fri Sep 10, 2010 12:14 pm
Location: Rome

Re: configuring web.xml for multiple repository

Postby luca.balletta » Tue Jan 17, 2012 5:49 pm

I'm trying to configure this with Polarion ALM having multi Repository configuration?
We want to link revisions of these Repositories to the Polarion Workitems and we want to navigate the resources of that revisions linked.

At the moment the location= parameter is ignored by svnwebclient embedded in Polarion ALM.

Can someone help, please.


Posts: 472
Joined: Tue Oct 24, 2006 10:27 am
Location: Polarion Software GmbH, Stuttgart

Re: configuring web.xml for multiple repository

Postby NickEntin » Wed Jan 18, 2012 7:42 am

Hi Luca,

this is wrong forum to ask such questions - if you have questions about Polarion ALM, please go to

But your question seem to be more support subject. If something doesn't work as you expect - please contact support.

I'm not sure what parameter you mean - "View Location Url" or "View Location Diff Url" or one of the parameters you manually specify in the value of the URL? What do you try to pass?
Also I didn't understand how do you approach embedded SVNWebClient... Probably you're doing something not supported/considered.

Best regards,

Return to “Polarion SVN Web Client”

Who is online

Users browsing this forum: No registered users and 2 guests