HowToBuildStendhal: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Hendrik Brummermann
No edit summary
imported>Hendrik Brummermann
No edit summary
Line 13: Line 13:


== Build ==
== Build ==
=== Build using ant ===
=== Build a distribution using ant ===
First you need ant properly installed on your system to build Stendhal.
First you need ant properly installed on your system to build Stendhal.


Line 21: Line 21:


Now just write:
Now just write:
ant
ant dist
This will build a full set of JAR files at stendhal-''version''/build/lib folder.


This will create a full set of release packages.
;Client files
:build/lib/stendhal-''version''.jar
:build/lib/stendhal-data-''version''.jar
:build/lib/stendhal-sound-data-''version''.jar

;Server files
:build/lib/stendhal-server-''version''.jar
:build/lib/stendhal-xmlconf-''version''.jar
:build/lib/stendhal-maps-''version''.jar

If you want to create a full set of release packages you can write
ant dist
ant dist


Line 47: Line 36:
;Source files
;Source files
:build/stendhal-src-''version''.tar.gz
:build/stendhal-src-''version''.tar.gz

=== Building just the jar files ===

To only build the jar file, you just write
ant

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

;Client files
:build/lib/stendhal-''version''.jar
:build/lib/stendhal-data-''version''.jar
:build/lib/stendhal-sound-data-''version''.jar

;Server files
:build/lib/stendhal-server-''version''.jar
:build/lib/stendhal-xmlconf-''version''.jar
:build/lib/stendhal-maps-''version''.jar

Note: If you are unsure, use the first section (ant dist) to get a working system with all the files in the correct server structure.


=== Build using IDE ===
=== Build using IDE ===