BuildStendhalOnUbuntu: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Schmidta
imported>Schmidta
Line 37: Line 37:
cd ..
cd ..
ant
ant

= Building Time =
== Directory Structure ==
Extract Stendhal and Marauroa in their directory (the ~/build directory). Stendhal should have made it's own folder called stendhal-X.xx
tar -xvf stendhal*src.tar.gz
tar -xvf marauroa*.zip
Now make a directory called libs in the ~/build directory
mkdir libs
rename marauroa-X.xx.jar to simple marauroa.jar
cp marauroa*.jar marauroa.jar
now copy log4j.jar, marauroa.jar, and jython.jar to the libs directory
cp log4j.jar libs
cp marauroa.jar libs
cp jython.jar libs

== Building with Ant ==
Change to the stendhal-X.xx directory
cd stendhal*
Clean up the place first, just in case
ant clean
Now build!
ant
And depending on how well the guide was written/you followed the guide, Stendhal will build.
The fully compiled binaries will be in ~/build/stendhal-X.xx/lib/


=== Client Files ===
=== Client Files ===