HowToBuildStendhal: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Kymara
No edit summary
imported>Hendrik Brummermann
fixed heading level, added a hint about leaving the password empty on cvs checkout
Line 1: Line 1:
Building Stendhal is very simple if you use ant and you satisfy the dependencies.
Building Stendhal is very simple if you use ant and you satisfy the dependencies.


=Requirements=
==Requirements==
To compile Stendhal you will need:
To compile Stendhal you will need:
* stendhal source as a stendhal-''version''-src.tar.gz <br>http://arianne.sourceforge.net/?arianne_url=games/game_stendhal#downloads
* stendhal source as a stendhal-''version''-src.tar.gz <br>http://arianne.sourceforge.net/?arianne_url=games/game_stendhal#downloads
Line 7: Line 7:
* Ant 1.6<br>http://ant.apache.org
* Ant 1.6<br>http://ant.apache.org


= Build=
== Build ==
==Build using ant==
=== Build using ant ===
First you need ant properly installed on your system to build Stendhal.
First you need ant properly installed on your system to build Stendhal.


Line 43: Line 43:
:build/stendhal-src-''version''.tar.gz
:build/stendhal-src-''version''.tar.gz


== Build using IDE ==
=== Build using IDE ===
You can also [[Configure a development environment (IDE)]].
You can also [[Configure a development environment (IDE)]].


= Trouble shooting =
== Trouble shooting ==
If you have the message error:
If you have the message error:
stendhal_source/build.xml:42: Could not create task or type of type: replaceregexp.
stendhal_source/build.xml:42: Could not create task or type of type: replaceregexp.
Line 60: Line 60:




= CVS =
== CVS ==


Assuming you have CVS installed, you can instead download our source from our CVS Head:
Assuming you have CVS installed, you can instead download our source from our CVS HEAD:
cvs -d:pserver:anonymous@arianne.cvs.sourceforge.net:/cvsroot/arianne login
cvs -d:pserver:anonymous@arianne.cvs.sourceforge.net:/cvsroot/arianne login
cvs -z3 -d:pserver:anonymous@arianne.cvs.sourceforge.net:/cvsroot/arianne co -P ''stendhal''
cvs -z3 -d:pserver:anonymous@arianne.cvs.sourceforge.net:/cvsroot/arianne co -P ''stendhal''


Which will check out a copy of the stendhal source into a folder called ''stendhal''. Then follow the steps to build using ant as before.
Which will check out a copy of the stendhal source into a folder called ''stendhal''. Then follow the steps to build using ant as before. If you are asked for a password during checkout, just leave it empty and hit enter.
<br>
<br>
<br>
<br>