MoveToRDS_0_10_2.html
30oct10 CmdrZin
01Nov10

  java -jar bin/sgs-boot.jar tutorial/conf/ZMUohMyNB.boot
to launch the server from installation area. (easy to cut-n-paste)

Moving the to the Red Dwarf 0.10.2 distribution.

1) Go to
    http://sourceforge.net/projects/reddwarf/files/
and download the server and client releases
    sgs-server-dist-0.10.2.zip
    sgs-client-dist-0.10.2.zip
and unzip into a working folder, RD_0_10_2 in my case.

2) Copy the server distribution to a new directory, sgs-dist, and delete all but the files in this tree.  The jar files in RD_0_10_2 are needed as libraries for building the server and client. The sgs-dist directory is used for testing the server build locally and deploying server to the web host.

sgs-server-only-0.10.1
    bin
        sgs-boot.jar
        sgs-stop.jar
    conf
        sgs-boot.properties
        sgs-logging.properties
        sgs-server.properties
    lib
            (keep all the files and folders)
    license
            (keep all the files)
    tutorial
        conf
and turn off the Read-only property for the files and folders.

3) From the JavaNet project at
    https://darkmud-redux.dev.java.net/,
use a SubVersion client, like TortoiseSVN, to get the latest distribution from
    https://darkmud-redux.dev.java.net/svn/darkmud-redux/trunk/NetBeans/ZMUohMyNB/ZMUohMy

4) Copy the conf files
    logging.properties
    MudMain.properties
    ZMUohMyNB.boot
from the
 ../ZMUohMy/conf
directory into the
   ../sgs-server-only-0.10.1/tutorial/conf
directory

5) Open NetBeans and use File-> Open Project (path to) NetBeans_1.0_release to open project.
RMC on Projects:Libraries to add Jar/Folder files from the RD_0_10_1 server and client distribution lib directories.
  sgs-server-0.10.1.jar
  sgs-server-api-0.10.1.jar
  sgs-client.jar
These are all that are needed to build the server and client. The mina, slf4j, and shared jar files are needed to use WebStart.
I also add the
    sgs-server-0.10.1-sources.jar
to help with debugging

6) Build project and copy the
  ZMUohMyNB.jar
file from
    ../ZMUohMyNB/ZMUohMy/dist
to the RD_0_10_1 server /tutorial directory.

7) Start the server by opening a command line window and cd to the sgs-server-dist-0.9.10 directory. You should see the tutorial folder at that level. Run the start up command
  java -jar bin/sgs-boot.jar tutorial/conf/ZMUohMyNB.boot
to start the server locally and check for startup errors in the comand window.
It should end up with Application is ready.

8) Since the Client is built with the server, you can run the NetBeans project to start up the Client and try to login.
Note: The MudClient.java class SERVERNAME should still be set to use "localhost".  

To Deploy

Copy the jar file into the tutorial folder and the three conf files into the conf folder and launch on the host with the jar command as usual.  (see above)
Changed the Client to use the IP address of the server (216.86.198.187 in my case) as a host.
You can access your remote server from NetBean if you set The MudClient.java class SERVERNAME to your remote server's IP address.