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

Content deleted Content added
imported>SimonSmall
Revised deployment
imported>SimonSmall
m Server: removed superfluous -l parameter
 
(18 intermediate revisions by the same user not shown)
Line 18:
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.ini''' and '''log4jlog4j_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.
* Copy '''h2.jar''' from the downloaded sources to the lib sub-directory, assuming you are using the h2 database.
Line 31:
set LOCALCLASSPATH=.;lib/marauroa.jar;lib/log4j.jar;lib/h2.jar;lib/server.jar
 
java -cp "%LOCALCLASSPATH%" marauroa.server.marauroad -c server.ini -l
</pre>