Content Development for Wonderland and Immersive Education

4.1.1.3 Running the Client Server Locally

After checking out the source bundle, you should be able to run both the client and the Darkstar server locally.

  1. To start the server open up a command~line window and navigate to the lg3d-wonderland installation directory. For example, on my system:

    > cd c:\myProjects\wonderland\lg3d-wonderland

  2. Run:

    > ant run-sgs

    As you run this, all you need know is that Ant runs off of an xml build script called build.xml. The build script contains any number of named targets which can be invoked from the command line and which serve to automate any number of build tasks. In this case we compile and execute all the Java code associated with the Wonderland game server.

  3. To start the client open up another command line window (as in step 1 above) and run:

    > ant run

    which simply launches the Wonderland client.

To shut down, simply quit the client from the user interface and quit the server from it's terminal window (use ctrl + c to bring down the server before closing the window if you like).

~29~