## SCM Implementation: Visual Source Safe

### SCM URL

Because a colon is used for one of the variables (a windows path), a pipe (|) is used as the delimiter.

The general format for a VSS SCM URL is

scm:vss|path_to_repository|/module_name

The third variable is the path to the Visual Source Safe repository (where srcsafe.ini resides).

Note that a forward slash is necessary before the module name in the final variable.

### Examples

scm:vss|C:\Program Files\Microsoft Visual Studio\VSS|/SomeProject

### Provider Configuration

The provider configuration is defined in \$user.home/.scm/vss-settings.xml

#### VSS Installation directory

The provider needs to know the installation path of the ss.exe in order to fulfill VSS commands. The installation path can be set in two ways - either in the vss-settings.xml file:

<vss-settings>
<Settings>
<vssDirectory>ss_exe_directory</vssDirectory>
<Settings>
</vss-settings>

or on the command line:

mvn -DvssDirectory=ss_exe_directory scm:update

In either case, ss_exe_directory should be set to the full path to the directory where ss.exe resides (e.g. C:\Program Files\Microsoft Visual Studio\VSS\bin).