Scripts for SCM-Manager Setup

This repository hosts the following components to support your SCM-Manager
 * Scripts to install/uninstall the Oracle Java JDK.
 * Current distribution of the development version of SCM-Manager and the
   auto-login plugin.
 * Script to build the SCM-Manager and the auto-login plugin from source.
 * Start script to start multiple SCM-Manager installations at boot time.


Clone this repository using Mercurial. If you don't have Mercurial, install
it by executing
 sudo apt-get install mercurial

Then clone this repository by executing:
 hg clone

Now enter the directory scm-environment and perform any of the next steps.

Installing the Oracle Java JDK

Choose one of the following scripts and execute it as root, e.g., by using sudo:
 - bin/
 - bin/
 - bin/

To remove the Oracle Java JDK, use the script
 - bin/

Building the SCM-Manager and the scm-autologin-plugin from source

Execute the script
 - bin/

It will first install maven and mercurial, then clone the necessary repositories
and finally build everything. You have to specify a target directory for the
repositories and build results. The default is ~/scm-manager-build. You will
find the compiled results in the dist subdirectory.

The source directories contain rebuild scripts that also update the dist

Installing the shipped SCM-Manager and the scm-autologin-plugin

To install the SCM-Manager stored in the dist subdirectory, use the install
 sudo bin/

At first, it creates the directory /etc/scm-manager containing an example
configuration. Create your own configurations using this template and
re-run the installation script. This will install SCM-Manager including
the start script. To test your servers, start them with
 sudo /etc/init.d/scm-manager start

To uninstall the servers, execute
 sudo bin/