[Pogamut-list] Multiple Servers in 3.2

jakub.gemrot pogamut-forum at diana.ms.mff.cuni.cz
Fri Apr 22 07:26:27 CEST 2011


Re: Multiple Servers in 3.2

Author: jakub.gemrot

>> I'm running jdk1.6.0_18, and I don't know what server mode is. How does that affect things?

Don't know I was just curious :-)

>> I do all the port management manually in my code.
>> By the way, where does that sample code need to be placed? And do I need to do it just once, or once per server?

What do you mean? The sample project can be anywhere on your disk, you may configure every instance of UT2004DeathMatch separately.
You may also launch many UT2004DeathMatch instances in parallel in one JVM as long as each one of them will use its own installation of UT2004
(which is effecrtivelly achieved by copying UT2004 folder elsewhere)

>> Regarding 3.2.2, what is the easiest way (using Maven) to pull down the latest code (as opposed to a SNAPSHOT) into an existing project?
You just delete -SNAPSHOT from the pom.xml file and Maven will download them on its own. Once they are downloaded in your local repository, you can extract .jar files manually for instance from the xxx.one-jar.jar of your project (pogamut-ut2004-bot-pom parent contains configuration for one-jar plugin that will create a runnable jar for you packing Pogamut libs together)

Best,
Jimmy

-- 
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=4&comments_reply_threadId=4&comments_parentId=676&post_reply=1#form>





More information about the Pogamut-list mailing list