HowToBuildStendhal: Difference between revisions

Content deleted Content added
imported>Hendrik Brummermann
Requirements: depencencies
imported>Hendrik Brummermann
Line 25:
cd ..
mkdir libs
cp path/to/marauroa.jar libs
cp path/to/log4j.jar libs
cp path/to/jython.jar libs
cp path/to/groovy.jar libs
cd stendhal
</pre>
Line 34 ⟶ 30:
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 dist
<pre>
ant
</pre>
 
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
 
== Webstart ==
In order for webstart to work, the client .jar-files have to be signed. There is some documentation on http://java.sun.com how this works. So i will put here only a small piece of information to get it integrated into the build process:
 
Put your private key into a file called keystore.ks into the stendhal-root folder
Create a file called build.ant-private.properties with theses lines (replacing the values):
keystore.alias=''miguelangelblanchlardin@hotmail.com''
keystore.password=''secret''
 
= Finally =