HowToBuildStendhal: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Bcmpinc |
imported>AntumDeluge mNo edit summary |
||
| (171 intermediate revisions by 9 users not shown) | |||
| Line 1: | Line 1: | ||
{{Navigation for Stendhal Top|Building & Hosting}} |
|||
Building Stendhal is very simple if you use ant and you satisfy the dependencies. |
|||
{{Navigation for Stendhal Builders and Hosters}} |
|||
=Requirements= |
|||
To compile Stendhal you will need: |
|||
* module stendhal<br>http://arianne.sourceforge.net/?arianne_url=games/game_stendhal |
|||
* module marauroa <br>http://arianne.sourceforge.net/?arianne_url=servers/server_marauroa |
|||
* Apache Log4J<br>http://logging.apache.org/log4j/docs/ |
|||
* Groovy<br>http://groovy.codehaus.org<br>Use this file groovy-all-1.0-jsr-05.jar |
|||
* Java SDK 1.5<br>http://java.sun.com |
|||
* Ant 1.6<br>http://ant.apache.org |
|||
* Simple<br>http://www.simpleframework.org/download/ |
|||
| ⚫ | |||
Optionally: |
|||
* Tiled<br>http://tiled.rpgdx.net/ |
|||
See [[HowToBuildStendhal/BuildTools|build tools page]]. |
|||
You can download compiled marauroa file ( ends with .zip ) that contains: |
|||
* log4j |
|||
* jython |
|||
* marauroa |
|||
| ⚫ | |||
==Build using ant== |
|||
First you need ant properly installed on your system to build Stendhal. |
|||
Second you need to compile successfully Marauroa using the compile task. |
|||
= Components = |
|||
To build Stendhal first make sure you have the JAR files in the correct place. |
|||
<pre> |
|||
cd path/to/stendhal |
|||
cd .. |
|||
mkdir libs |
|||
cp path/to/marauroa.jar libs |
|||
cp path/to/log4j.jar libs |
|||
cp path/to/jython.jar libs |
|||
cp path/to/groovy.jar libs |
|||
cd stendhal |
|||
</pre> |
|||
All component packages, other than Android client, can be built with a single Ant command: <span style="color:darkred;">''ant dist''</span>. This will output the following: |
|||
Make sure you remove the version number from name or that you create links to the real file without any version number. |
|||
Now just write: |
|||
<pre> |
|||
ant |
|||
</pre> |
|||
* ''<span style="color:darkblue;">build/stendhal-<version>-src.tar.gz</span>'' |
|||
This will build a full set of JAR files at stendhal/lib folder. |
|||
* ''<span style="color:darkblue;">build/stendhal-server-<version>.zip</span> (includes web client)'' |
|||
* ''<span style="color:darkblue;">build/stendhal-<version>.zip</span> (Java client)'' |
|||
* ''<span style="color:darkblue;">build/stendhal-webclient-<version>.zip</span> (requires server)'' |
|||
* ''<span style="color:darkblue;">build/stendhal-starter-<version>.zip</span> (obsolete)'' |
|||
''<span style="color:darkblue;">'''TODO:''' Instructions for individual components.</span>'' |
|||
Client files |
|||
stendhal-version.jar |
|||
stendhal-data-version.jar |
|||
Server |
== Server and Web Client == |
||
stendhal-server-version.jar |
|||
stendhal-conf-version.jar |
|||
stendhal-quests-version.jar |
|||
stendhal-maps-version.jar |
|||
== Desktop Client == |
|||
= Finally = |
|||
When you have successfully built Stendhal please read the install documentation. It is available on the Wiki at [[InstallingStendhal]]. |
|||
== Java Desktop Client == |
|||
<br> |
|||
<br> |
|||
<br> |
|||
---- |
|||
== Android Client == |
|||
[[Stendhal | Back to stendhal main wiki page]] |
|||
* [[BuildStendhalForAndroid#WebView_Client|Build Stendhal WebView Client for Android]] |
|||
= Systems = |
|||
== Windows == |
|||
* [[VisualGuideToBuildingStendhal|Visual Guide to Building Stendhal on Windows®]] |
|||
== GNU/Linux == |
|||
* [[BuildStendhalOnUbuntu|Building Stendhal on Ubuntu® - Installation Guide Step-by-step]] |
|||
== Mac OS X == |
|||
* [[BuildStendhalOnMacOsX|Build Stendhal On Mac Os X]] |
|||
== Android WebView Client == |
|||
* [[BuildStendhalForAndroid#WebView_Client|Build Stendhal WebView Client for Android]] |
|||
= General Information = |
|||
* [[HowToGetLatestStendhal|How to get the latest version?]] |
|||
[[Category:Development]] |
|||
Latest revision as of 23:40, 12 January 2026
Build Tools
See build tools page.
Components
All component packages, other than Android client, can be built with a single Ant command: ant dist. This will output the following:
- build/stendhal-<version>-src.tar.gz
- build/stendhal-server-<version>.zip (includes web client)
- build/stendhal-<version>.zip (Java client)
- build/stendhal-webclient-<version>.zip (requires server)
- build/stendhal-starter-<version>.zip (obsolete)
TODO: Instructions for individual components.
Server and Web Client
Desktop Client
Java Desktop Client
Android Client