How to run AppWarp S2 server without source file ?

0 votes
I'm going to run my game server with AppWarp S2 without source file.

I think warp.xml should be fix, but I don't know about it.

How to do I ?
asked Jul 26, 2015 in AppWarpS2 by rongchenghan (15 points)

1 Answer

0 votes

Hi,

Please find below the link which explain step by step guide to deploy and run AppWarp S2 server.

http://appwarps2.shephertz.com/dev-center/deployment/

warp.xml file contains the ant script which is used to build and run server.

You need to edit mainclassname in warp.xml according to your class name by editing the following line in the warp.xml file.

<property name="main-class" value="<mainclassname>"/>

 

Please let me know in case of any doubt.

 

answered Jul 26, 2015 by NaveenGShephertz (244 points)
Yes, I already saw http://appwarps2.shephertz.com/dev-center/deployment/.
But it's case with source files.
I'm going to run AppWarp S2 server with only jar file without source files.
Here source files denotes the business logic of game that you have written, using AppWarpS2 functionality.In this case your game must contains java Main file that is used to start the server.AppWarpS2 jar file is used as a library in your game.
 If you are using the IDE than you can run your server directly running your main java file.
You can also run your server using scripts file windows_start and linux_start available in scripts folder by providing the path of main class of your project as explained above.
You can also run your project using warp.xml by providing the name of main class name as explained above.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...