HowToBuildStendhal: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Sshk
No edit summary
imported>Kymara
style, ant clean mention
Line 11: Line 11:
* Tiled<br>http://tiled.rpgdx.net/
* Tiled<br>http://tiled.rpgdx.net/


You can download compiled marauroa file but Stendhal CVS somtimes require Marauroa CVS as well.
You can download a compiled marauroa file but Stendhal CVS occaisonally requires Marauroa CVS as well.


We do not include dependencies in the source download, to keep the size small. They are in CVS, however, and you can download them via the CVS webfrontend at http://arianne.cvs.sourceforge.net/arianne/stendhal/libs/
We do not include dependencies in the source download, to keep the size small. They are in CVS, however, and you can download them via the CVS webfrontend at http://arianne.cvs.sourceforge.net/arianne/stendhal/libs/
Line 45: Line 45:


== Webstart ==
== 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:
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
Put your private key into a file called keystore.ks into the stendhal-root folder
Line 54: Line 54:
= Trouble shooting =
= Trouble shooting =
If you have the message error:
If you have the message error:
<p>stendhal_source/build.xml:42: Could not create task or type of type: replaceregexp.</p>
stendhal_source/build.xml:42: Could not create task or type of type: replaceregexp.


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.
<b>Solution:</b>
<p>If you have linux:
You need the "ant-apache-regexp" package, if you use debian or another debian dist (like Ubuntu) you need install the "ant-optional" package</p>


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

In future if you wish to just create the client and server jars (not zips and all release packages) then
ant clean && ant
will suffice. Remember to "ant clean" before you "ant build" everytime - this is done automatically if you "ant dist", however.


<br>
<br>