JEmpire Developer Docs
Building from Source
- Download the source jar from sourceforge.
- Unjar the file. You should see the following file structure:
- jempire
- adminData
- buildData
- build.xml
- gameTypes
- src
- jempire
- Create the folder
jempire/lib
. - Populate the lib folder with the following jars:
- BrowserLauncher2.jar -- See http://sourceforge.net/projects/browserlaunch2
- jep-2.4.1.jar -- See http://sourceforge.net/projects/jep
- slf4j-api-1.3.0.jar -- See http://www.slf4j.org/index.html
- yasl-arch-1.0.jar -- See http://sourceforge.net/projects/yaslibrary
- yasl-components-1.0.jar -- See http://sourceforge.net/projects/yaslibrary
- yasl-slf4j-1.0.jar -- See http://sourceforge.net/projects/yaslibrary
- Change to the
jempire
folder. Enter the following command:ant
- The build will create two new folders:
classes
anddeployment
. - To play the game, change to
jempire/deployment
and enter the following command:java -jar JEmpire.jar