HowToBuildStendhal: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>MiguelAngelBlanchLardin
No edit summary
imported>MiguelAngelBlanchLardin
Line 28: Line 28:
cd ..
cd ..
mkdir libs
mkdir libs
copy path/to/marauroa.jar libs
cp path/to/marauroa.jar libs
copy path/to/log4j.jar libs
cp path/to/log4j.jar libs
copy path/to/jython.jar libs
cp path/to/jython.jar libs
cd stendhal
cd stendhal
</pre>
</pre>

Revision as of 11:06, 6 February 2006

Building Stendhal is very simple if you use ant and you satisfy the dependencies.

Requirements

To compile Stendhal you will need:

Optionally:

You can download compiled marauroa file ( ends with .zip ) that contains:

  • log4j
  • jython
  • marauroa

Build

Build using ant

First you need ant properly installed on your system to build Stendhal. Second you need to compile successfully Marauroa using the compile task.

To build Stendhal first make sure you have the JAR files in the correct place.

  cd path/to/stendhal
  cd ..
  mkdir libs
  cp path/to/marauroa.jar libs
  cp path/to/log4j.jar libs
  cp path/to/jython.jar libs
  cd stendhal

Make sure you remove the version number from name or that you create links to the real file without any version number. Now just write:

  ant

This will build a full set of JAR files at stendhal/lib folder.

Client files

 stendhal-version.jar
 stendhal-data-version.jar

Server files

 stendhal-server-version.jar
 stendhal-conf-version.jar
 stendhal-quests-version.jar
 stendhal-maps-version.jar

Finally

When you have successfully built Stendhal please read the install documentation. It is available on the Wiki at InstallingStendhal.





Back to stendhal main wiki page