HowToBuildStendhal: Difference between revisions

Content deleted Content added
imported>Hendrik Brummermann
No edit summary
imported>Hendrik Brummermann
No edit summary
Line 13:
 
== Build ==
=== Build a distribution using ant ===
First you need ant properly installed on your system to build Stendhal.
 
Line 21:
 
Now just write:
ant dist
This will build a full set of JAR files at stendhal-''version''/build/lib folder.
 
IfThis you want towill create a full set of release packages you can write .
;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
 
Line 47 ⟶ 36:
;Source files
: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 ===