Setting up Sharpster
Configuring Sharpster
The Sharpster configuration is located in config/sharpster.xml in the sharpster directory. This configuration contains the following fields that have to be filled in using XML syntax. If Sharpster can not find the configuration file a new one will be generated automatically.
-
username
: The username that Sharpster will use when logging in to specified SCM system. -
password
: The password that Sharpster will use when logging in to specified SCM system. -
repository
: This is the path to the specified SCM repository root. It is important that the path is absolute (not relative). -
temporary
: Sharpster has to have a temporary storage location in order to work, this path has to be absolute and should not contain any other files. -
SCM
: This field specifies which SCM system that Sharpster will use, CVSManager for CVS and SVNManager for Subversion. -
default-module
: When using CVS you have to specify which module Sharpster should use. Please note that this field can not be empty, even when using Subversion.
Starting SharpsterDaemon
Now all is set to start SharpsterDaemon which has to be running in the background when using Sharpster. This is done by running the command:
% sharpster-daemon
Starting SharpsterClient
SharpsterClient is started with:
% sharpster <command>
The client is used for interpreting user commands and issuing the correct orders to the daemon. The client's use is described in more detail later. For a complete list of commands, please consult the reference.