SVN server installation (Windows)
Contents
Setup
Installation
- Download Visual SVN server for windows: http://www.visualsvn.com/server/download/
- Install Visual SVN server. Choose your installation folder + repository directory
Users / groups configuration
- Open the Visual SVN server application.
- Open properties
Action > Properties
- Click Repositories, adjust “Everyone” rights to Read Only
- Add a new user and add 'read / write' permissions to this new user
Create repository
standalone use
Right click on “repositories” -> create New Repository
Enter the repository name and let the server create the default structure for you:
→ Note the SVN URL. You’ll need it later when you’re gonna setup your project, within the maven pom.
Mirror Google Code
Google provides a free subversion service through its “Google Code” service. However, there’s no quality analysis. … So, in order to provide quality checks we will mirror the google code repository.
Therefore, we’ll be able to perform quality scans.
- Create a new repository, see previous chapter
- Right click on the repository -> All tasks -> Manage hooks
You have to edit the “pre-revision property change hook” and put the following command:
exit 0
This will check that the execution (synchronization) was successful.