HowToBuildStendhal: Difference between revisions
Content deleted Content added
imported>Kymara small fixes to server jar names and spelling |
imported>Kymara updating this quite nice simple guide |
||
Line 1:
Building Stendhal is very simple if you use ant and you satisfy the dependencies.
You can also [[Configure a development environment (IDE)]].
=Requirements=
To compile Stendhal you will need:
*
* Java SDK 1.5<br>http://java.sun.com ''or higher''▼
▲* Java SDK 1.5<br>http://java.sun.com
* Ant 1.6<br>http://ant.apache.org
Optionally:
* Tiled<br>http://
We do not include dependencies in the source download, to keep the size small. They are in CVS, however, and you can download them via the CVS webfrontend at http://arianne.cvs.sourceforge.net/arianne/stendhal/libs/
Line 18 ⟶ 17:
==Build using ant==
First you need ant properly installed on your system to build Stendhal.
Then unpack the stendhal source gzip.
<pre>
cd path/to/stendhal source
cd stendhal
</pre>
Now add any missing dependencies to the ''lib'' folder: ''TODO: check what these are''
Now just write:
ant dist
Line 37 ⟶ 35:
stendhal-''version''.jar
stendhal-data-''version''.jar
stendhal-sound-data-''version''.jar
Server files
Line 61 ⟶ 60:
In future if you wish to just create the client and server jars (not zips and all release packages) then
ant clean
will suffice. Remember to "ant clean" before you "ant build" everytime - this is done automatically if you "ant dist", however.
| |||