In order to use the latest version of Ursus you must download the project via CVS.
From a terminal run these commands, when prompted for a password just hit enter.
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ursus login
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ursus co ursus
Now enter the projects root directory 'ursus' and type.
ant jar-server
ant jar-client
Now you are ready to start the Ursus server. By default typing this from the
dist/ursus-server directory will start the server.
java -jar Server.jar conf/conf.xml
Notice that the main class takes one argument, the location of the conf.xml file
used to configure the server. It is advisable not to run the server as a background
process because there is currently no way to shut it down other than killing the process
manually by typing ctrl-c in the terminal you started it in, or killing the process
id in a un*x like operating system.
In another terminal move over to the dist/ursus-client directory and type the following
java -jar Client.jar conf/conf.xml localhost 7000
Notice that the main class for the client takes three arguments, the location of
the conf.xml file, the servers url, and the port number the server is listening on.
Once the client has connected to the server you can either use the echo or serverstat
commands.
Examples of what to type once connected.
echo Hello server world!
serverstat