VisualGuideToBuildingStendhalStep4: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>Paulot21
imported>Kymara
remove reference to ant convertmaps
Line 5: Line 5:
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step4CompileStendhal/Step4CompileStendhal01.png
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step4CompileStendhal/Step4CompileStendhal01.png


Type <tt>ant clean</tt> and press <tt>enter</tt><br>Note: <tt>ant clean</tt> 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 <tt>ant compile</tt> because it deletes your compiled binaries too and you would have to compile again.
Type <tt>ant clean</tt> and press <tt>enter</tt><br>Note: <tt>ant clean</tt> is a harmless command that only deletes what it considers unused or unnecessary files and folders. You can use it anytime, but not immediately after typing <tt>ant compile</tt> 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
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step4CompileStendhal/Step4CompileStendhal02.png

*Type <tt>ant convertmaps</tt> and press <tt>enter</tt> (this can take a while the first time you use it)<br>Note: you normally use <tt>ant convertmaps</tt> when you have edited and changed any <tt>*.tmx</tt> map file in the source tree.
'''NOTE''': If you encounter a java.lang.OutOfMemoryError during this stage under windows, type "set ANT_OPTS=-Xmx256m" before "ant convertmaps". This will increase the heap space alocated to the JVM.

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 <tt>ant compile</tt> (or simply <tt>ant</tt>) and press <tt>enter</tt>
*Type <tt>ant compile</tt> (or simply <tt>ant</tt>) and press <tt>enter</tt>

Revision as of 20:54, 21 July 2008

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 unnecessary 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 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