VisualGuideToBuildingStendhalStep3: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>Oslsachem
No edit summary
imported>Oslsachem
No edit summary
Line 64: Line 64:
*''log4j.jar''
*''log4j.jar''


from ''\marauroa-1.31\'' folder
from ''\marauroa-1.31.1\'' folder


http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step33InAnyCase/Step33InAnyCase05.png
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step33InAnyCase/Step33InAnyCase05.png
Line 72: Line 72:
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step33InAnyCase/Step33InAnyCase06.png
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\'' folder:
Note: You could remove the 3 stendhal server binary ''*.jar'' files inside the ''\marauroa-1.31.1\'' folder:
*''stendhal-xmlconf-0.47.jar''
*''stendhal-xmlconf-0.47.jar''
*''stendhal-maps-0.47.jar''
*''stendhal-maps-0.47.jar''

Revision as of 13:20, 18 April 2006

Step 3. Install Stendhal-server packaged sources or CVS updated sources with the map editor package

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.

CVS updated sources with the map editor package

Unzip stendhal_mapeditor-1.20.zip

Rename \stendhal_mapeditor\ folder to \Development\

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor01.png

Move \Development\ folder under C:\

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor02.png

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor03.png

Edit the update.bat file:

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor04.png

Delete /tiled (from co stendhal/tiled to co stendhal)

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 3 files:

  • jython.jar
  • 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 Step 4. Compile Stendhal using ant