BuildStendhalOnUbuntu: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Hendrik Brummermann replaced outdated CVS instructions with git instructions. |
imported>AntumDeluge add page categories |
||
| (8 intermediate revisions by one other user not shown) | |||
| Line 10: | Line 10: | ||
* 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. |
* 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 https://github.com/arianne/stendhal.git</code>. |
* 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== |
==Requirements== |
||
| Line 16: | Line 16: | ||
These are the requirements needed to build Stendhal: |
These are the requirements needed to build Stendhal: |
||
* OpenJDK or Oracle JDK 1. |
* OpenJDK or Oracle JDK 1.8 ''or higher'' e.g.: |
||
sudo apt-get install openjdk-8-jdk |
sudo apt-get install openjdk-8-jdk |
||
* ant <br>http://ant.apache.org or e.g.: |
* ant <br>http://ant.apache.org or e.g.: |
||
sudo apt-get install ant ant-optional: |
sudo apt-get install ant ant-optional: |
||
* node.js from https://nodejs.org |
|||
==Building with ant== |
==Building with ant== |
||
| Line 70: | Line 72: | ||
ant clean compile |
ant clean compile |
||
will suffice. Remember to "ant clean" before you "ant build" everytime - this is done automatically if you "ant dist", however. |
will suffice. Remember to "ant clean" before you "ant build" everytime - this is done automatically if you "ant dist", however. |
||
[[Category:Stendhal]] |
[[Category:Stendhal]] |
||
[[Category:Development]] |
|||
[[Category:GNU Linux]] |
|||