VisualGuideToBuildingStendhalStep4: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Oslsachem
Step 4. Get the Stendhal source using TortoiseCVS: added step to rename problematic CVS folder
imported>Hendrik Brummermann
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Step 4. Get the Stendhal source using TortoiseCVS==
==Step 4. Get the Stendhal source using TortoiseGit==


Create, wherever you like, a folder named ''CVSProjects'' which can be used to store all the projects you download using CVS.
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.
[[File:Step4StendhalSourceCVS01.png]]


The Checkout Dialog will appear. Use this url: <code>git clone <nowiki>https://github.com/arianne/stendhal.git</nowiki></code>
Right-click on this folder, and pick CVS Checkout... from the pop-up menu.


[[File:Step4StendhalSourceCVS02.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.
The Checkout Dialog will appear with the following fields:

[[File:Step4StendhalSourceCVS03.png]]

Fill out the marked fields accordingly and then click on [ Fetch List... ]:

[[File:Step4StendhalSourceCVS04.png]]

The list of available modules appears on the right panel:

[[File:Step4StendhalSourceCVS05.png]]

Choose stendhal from the module drop-down list:

[[File:Step4StendhalSourceCVS06.png]]

Click on [ OK ] to begin the downloading process:

[[File:Step4StendhalSourceCVS07.png]]

This process may take quite some time, so be patient:

[[File:Step4StendhalSourceCVS08.png]]

When you read ''Success, CVS operation completed'', you can click [ OK ] to close the window:

[[File:Step4StendhalSourceCVS09.png]]

'''Warning:'''
You have to rename the ''Processors'' folder to ''processors''. It is in ''src/games/stendhal/client /sound/system''

This problem is due to limitations of CVS and Windows:
* CVS can't delete folders. It can just leave them empty.
* Windows can't tell the difference between uppercase and lowercase in a folder's name.

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

[[File:Step4StendhalSourceCVS10.png]]


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


Go to [[VisualGuideToBuildingStendhalStep5|Step 5. Build the Stendhal distribution using Ant]]
[[File:Step4StendhalSourceCVS11.png]]

Go to [[VisualGuideToBuildingStendhalStep5|Step 5. Build the Stendhal distribution using Ant (which uses JDK)]]