BuildStendhalOnUbuntu: Difference between revisions
Content deleted Content added
imported>Oslsachem a merger of two guides for building stendhal using ant in ubuntu that needs an update from an ubuntu user |
imported>AntumDeluge add page categories |
||
| (21 intermediate revisions by 3 users not shown) | |||
Line 4:
This guide is aimed at those who just want to play the latest version of the game before it is officially released.
If you intend to do modifications to the game, it is recommended that you follow [[Configure a development environment (IDE)]] instead.
==Get the source Stendhal code ==
First of all, you need to get the Stendhal source code. There are two ways:
* Download the source distribution at https://arianne-project.org/download/stendhal-src.tar.gz Use <code>tar xzf stendhal-''version''-src.tar.gz</code> to unpack it.
* Alternatively you can clone the git repository to get the latest development version: <code>sudo apt-get install git</code> and <code>git clone <nowiki>https://github.com/arianne/stendhal.git</nowiki></code>.
==Requirements==
These are the requirements needed to build Stendhal:
* OpenJDK or
sudo
* ant <br>http://ant.apache.org or e.g.:
sudo
* node.js from https://nodejs.org
==Building with ant==
Line 65 ⟶ 66:
For linux users this is corrected by installing the "ant-apache-regexp" package. If you use debian or another debian dist (like Ubuntu) this is included in the "ant-optional" package.
== Finally ==
When you have successfully built Stendhal please
In the future if you wish to just create the client and server jars (not zips and all release packages) then
Line 72 ⟶ 73:
will suffice. Remember to "ant clean" before you "ant build" everytime - this is done automatically if you "ant dist", however.
[[Category:Stendhal]]
[[Category:Development]]
[[Category:GNU Linux]]
| |||