VisualGuideToBuildingStendhalStep4: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>Kymara
remove reference to ant convertmaps
imported>Hendrik Brummermann
No edit summary
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Step 4. Compile Stendhal using ant==
==Step 4. Get the Stendhal source using TortoiseGit==


Create, wherever you like, a folder named ''projects'' which can be used to store all the projects you download using Git.
Open the command prompt window and <tt>cd</tt> to ''C:\development\stendhal'' (Note: there's a ''build.xml'' file in that folder).


Right-click on this folder, and pick Git clone... from the pop-up menu.
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step4CompileStendhal/Step4CompileStendhal01.png


The Checkout Dialog will appear. Use this url: <code>git clone <nowiki>https://github.com/arianne/stendhal.git</nowiki></code>
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


'''Note:''' From now on, to update the stendhal source files, you just have to right-click on the newly created ''stendhal'' folder (inside the ''projects'' folder) and choose Pull.
*Type <tt>ant compile</tt> (or simply <tt>ant</tt>) and press <tt>enter</tt>


This process will take much less time than the initial checkout process.
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step4CompileStendhal/Step4CompileStendhal05.png


Go to [[VisualGuideToBuildingStendhalStep5|Step 5. Build the Stendhal distribution using Ant]]
*Close the window (type exit or click the X)

Go to [[VisualGuideToBuildingStendhalStep5|Step 5. Move compiled files to server and client folders]]

Latest revision as of 21:29, 21 January 2016

Step 4. Get the Stendhal source using TortoiseGit

Create, wherever you like, a folder named projects which can be used to store all the projects you download using Git.

Right-click on this folder, and pick Git clone... from the pop-up menu.

The Checkout Dialog will appear. Use this url: git clone https://github.com/arianne/stendhal.git


Note: From now on, to update the stendhal source files, you just have to right-click on the newly created stendhal folder (inside the projects folder) and choose Pull.

This process will take much less time than the initial checkout process.

Go to Step 5. Build the Stendhal distribution using Ant