VisualGuideToBuildingStendhalStep4

From Arianne
Revision as of 22:57, 27 March 2006 by imported>Oslsachem
Jump to navigation Jump to search

Step 4. Compile Stendhal using ant

Open the command prompt window and cd to C:\development\stendhal (Note: there's a build.xml file in that folder).

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step4CompileStendhal/Step4CompileStendhal01.png

Type ant clean and press enter
Note: ant clean is a harmless command that only deletes what it considers unused or unnecesary files and folders. You can use it anytime, but not immediately after typing ant compile because it deletes your compiled binaries too and you would have to compile again.

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step4CompileStendhal/Step4CompileStendhal02.png

  • Type ant convertmaps and press enter (this can take a while the first time you use it)
    Note: you normally use ant convertmaps when you have edited and changed any *.tmx map file in the source tree.

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step4CompileStendhal/Step4CompileStendhal03.png

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step4CompileStendhal/Step4CompileStendhal04.png

  • Type ant compile (or simply ant) and press enter

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step4CompileStendhal/Step4CompileStendhal05.png

  • Close the window (type exit or click the X)

Go to Step 5. Move compiled files to server and client folders