- Download and install SVNKit from http://product-dist.wso2.com/tools/svnkit-all-1.8.7.wso2v1.jar into the
- Download http://maven.wso2.org/nexus/content/groups/wso2-public/com/trilead/trilead-ssh2/1.0.0-build215/trilead-ssh2-1.0.0-build215.jar and copy it to the
components/libfolder. This .jar file is necessary for the SVNKit to work as expected.
- In a console window, enter the following command to create a new repository:
svnadmin create <PathToRepository>/<RepoName>
svnadmin create ~/depsyncrepo
/conf/svnserve.confand set following lines to configure authentication for the new repository.
anon-access = none(Specifies what kind of access anonymous users have; in this case, none)
auth-access = write(Specifies what authenticated users can do; in this case, they can write, which also includes reading)
password-db = passwd(Specifies the source of authentication; in this case, the file named
passwd, which resides in the same directory as
<PathToRepository>/<RepoName>/conf/passwdand add the following line in the format of
<username>:<password>to add a new user:
The SVN repository is now available with the user credentials you specified. If you want want to test and further configure the repository, see the following references: