Chat Tutorial in NetBeans/Deploy Text Client: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>SimonSmall
Revised deployment
imported>SimonSmall
Server: log file configuration
Line 18: Line 18:
When you build the Server library, it creates a '''server.jar''' file in the '''dist''' directory of the Server project.
When you build the Server library, it creates a '''server.jar''' file in the '''dist''' directory of the Server project.
* Copy the '''server.jar''' file into the lib sub-directory of PLAYPATH.
* Copy the '''server.jar''' file into the lib sub-directory of PLAYPATH.
* Copy the '''server.ini''' and '''log4j.properties''' files from the '''src\server''' directory of the Server project to your PLAYPATH directory.
* Copy the '''server.ini''' and '''log4j_server.properties''' files from the '''src\server''' directory of the Server project to your PLAYPATH directory.
* Create an empty '''admins.txt''' file in your PLAYPATH directory.
* Create an empty '''admins.txt''' file in your PLAYPATH directory.
* Copy '''h2.jar''' from the downloaded sources to the lib sub-directory, assuming you are using the h2 database.
* Copy '''h2.jar''' from the downloaded sources to the lib sub-directory, assuming you are using the h2 database.