|
==Step 3. Install TortoiseCVS==
==Step 3. Install Stendhal-server packaged sources or CVS updated sources with the map editor package==
TortoiseCVS is a CVS client that will be used to get the latest Stendhal source files before they are available in the official release.
You can choose between simply getting the zipped Stendhal-server source file or alternativelly getting CVS from the map editor file to get the latest sources and stay updated between releases. It is recommended that you get the more updated source files using the anonymous CVS client from the map editor file.
First, go to the TortoiseCVS website:
===CVS updated sources with the map editor package===
Unzip stendhal_mapeditor-1.20.zip
http://www.tortoisecvs.org/download.shtml
Rename ''\stendhal_mapeditor\'' folder to ''\Development\''
[[File:Step3TortoiseCVSInstall01.png]]
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor01.png
Double-click the downloaded file named TortoiseCVS-1.12.5.exe:
Move ''\Development\'' folder under ''C:\''
[[File:Step3TortoiseCVSInstall02.png]]
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor02.png
[[File:Step3TortoiseCVSInstall03.png]]
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor03.png
[[File:Step3TortoiseCVSInstall04.png]]
Edit the ''update.bat'' file:
[[File:Step3TortoiseCVSInstall05.png]]
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor04.png
[[File:Step3TortoiseCVSInstall06.png]]
<strike>Delete <tt>/tiled</tt> (from <tt>co stendhal/tiled</tt> to <tt>co stendhal</tt>)</strike>
[[File:Step3TortoiseCVSInstall07.png]]
'''Note: the cvs path has changed and so the following screenshots have become outdated.'''
[[File:Step3TortoiseCVSInstall08.png]]
The correct command is now:
Restart your computer so that all the installation changes can take effect.
cvs -z3 -d:pserver:anonymous@arianne.cvs.sourceforge.net:/cvsroot/arianne co -P stendhal
Go to [[VisualGuideToBuildingStendhalStep4|Step 4. CompileGet the Stendhal source using antTortoiseCVS]] ▼
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor05.png
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor06.png
Save the changes:
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor07.png
Double-click or open the ''update.bat'' file and a window is opened:
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor08.png
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor09.png
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor10.png
The window is closed automatically when the process finishes.
===In any case do the following===
Create a ''\libs\'' folder under ''C:\Development'' (that is, at the same level as ''C:\Development\stendhal'')
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step33InAnyCase/Step33InAnyCase01.png
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step33InAnyCase/Step33InAnyCase02.png
If you are using the CVS updated sources from the map editor package move down ''tiled.jar'' from ''C:\Development''
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor02.png
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step33InAnyCase/Step33InAnyCase03.png
to ''C:\Development\libs\''
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step33InAnyCase/Step33InAnyCase01.png
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step33InAnyCase/Step33InAnyCase04.png
Copy the 2 files:
*''marauroa.jar''
*''log4j.jar''
from ''\marauroa-1.31.1\'' folder
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step33InAnyCase/Step33InAnyCase05.png
to ''\development\libs\''
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step33InAnyCase/Step33InAnyCase06.png
Note: You could remove the 3 stendhal server binary ''*.jar'' files inside the ''\marauroa-1.31.1\'' folder:
*''stendhal-xmlconf-0.47.jar''
*''stendhal-maps-0.47.jar''
*''stendhal-server-0.47.jar''
But it is better to keep them in that folder and just overwrite them with the new compiled files when needed. This is a good way of assuring you are copying the new files to the right folder.
▲Go to [[VisualGuideToBuildingStendhalStep4|Step 4. Compile Stendhal using ant]]
|