InstallingStendhal: Difference between revisions

Content deleted Content added
imported>Danter
mNo edit summary
imported>MiguelAngelBlanchLardin
No edit summary
Line 42:
10 files 1.157.350 bytes
2 dirs 19.775.102.976 bytes free
</pre>
 
=== Using Stendhal source files ===
If you grabbed Stendhal source, you need to compile it now. So simply go to Stendhal folder and type
<pre>
C:\...\stendhal>ant jar
<pre>
Buildfile: build.xml
 
init:
[mkdir] Created dir: C:\....\stendhal\build
[mkdir] Created dir: C:\....\stendhal\lib
[mkdir] Created dir: C:\....\javadocs
 
client_compile:
[delete] Deleting directory C:\....\stendhal\build
[mkdir] Created dir: C:\....\stendhal\build
[copy] Copying 3 files to C:\....\stendhal\build\sprites
[javac] Compiling 18 source files to C:\....\stendhal\build
 
client_jar:
[jar] Building jar: C:\....\stendhal\lib\stendhal-0.00.jar
 
server_compile:
[delete] Deleting directory C:\....\stendhal\build
[mkdir] Created dir: C:\....\stendhal\build
[copy] Copying 3 files to C:\....\stendhal\build\games\stendhal\server\maps
[javac] Compiling 6 source files to C:\....\stendhal\build
 
server_jar:
[jar] Building jar: C:\....\stendhal\lib\stendhal-server-0.00.jar
 
jar:
 
BUILD SUCCESSFUL
Total time: 3 seconds
</pre>
 
Now in lib folder you have two jar files:
<pre>
C:\....\stendhal\lib>dir
19/02/2005 22:02 <DIR> .
19/02/2005 22:02 <DIR> ..
19/02/2005 22:02 109.104 stendhal-0.00.jar
19/02/2005 22:02 11.851 stendhal-server-0.00.jar
2 files 120.955 bytes
2 dirs 19.775.070.208 bytes free
</pre>