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.