[Crossfire-wiki] [Crossfire DokuWiki] page changed: user:kbulgrien
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Sun Sep 2 18:11:43 CDT 2007
A page in your DokuWiki was added or changed. Here are the details:
Date : 2007/09/02 18:11
User :
Edit Summary: Incremental save after checking out the sources.
@@ -1,24 +1,82 @@
This page contains information how to use **qemu** to test **crossfire** on a virtual host.
Before beginning, see [[user:kbulgrien#Mandriva qemu setup for Crossfire testing|Mandriva qemu setup for Crossfire testing]] for instructions on setting up the virtual host.
- =======Virtual host workspace setup======
+ Next, perform the [[user:kbulgrien#Crossfire development workspace setup|Crossfire development workspace setup]].
- First, launch a terminal by clicking the **Terminal Program** icon on the **Start Bar**. It is the icon that looks like a monitor. Size and/or configure the terminal to taste as it will be used heavily. The prompt will look like:
+ ======Development and testing======
- [tux at localhost ~]$
+ =====Client=====
- Next, set up a work area for the crossfire sources.
+ =====Server=====
+
+ ======Crossfire development workspace setup======
+
+ Start the virtual system in a manner similar to:
+
+ $ cd ~/qemu/mandriva-one-2007-qemu-image
+ $ bash launch.sh
+
+ Boot the virtual machine.
+
+ Launch a terminal by clicking the **Terminal Program** icon on the **Start Bar**. It is the icon that looks like a monitor. Size and/or configure the terminal to taste as it will be used heavily.
+
+ =====Create a work area for the development sources=====
+
+ Start the virtual system in a manner similar to:
+
+ $ cd ~/qemu/mandriva-one-2007-qemu-image
+ $ bash launch.sh
+
+ Boot the virtual machine.
+
+ Launch a terminal by clicking the **Terminal Program** icon on the **Start Bar**. It is the icon that looks like a monitor. Size and/or configure the terminal to taste as it will be used heavily.
+
+ Set up a work area for the crossfire sources.
$ cd ~
- $ mkdir svn
+ $ mkdir -p svn/trunk
$ cd svn
- This example will presume the use of //trunk// and //branch/1.x// sources. Feel free to deviate from these instructions to reduce the size of the workspace and the amount of data that must be downloaded.
+ =====Create some scripts help with subversion operations=====
+
+ This example will presume the use of //trunk// sources. Feel free to deviate from these instructions to reduce the size of the workspace and the amount of data that must be downloaded. Create a shell script called **svn-co.sh** that contains the following:
+
+ #!/bin/bash
+ #
+ for dir in arch client maps server sounds
+ do
+ svn co https://crossfire.svn.sourceforge.net/svnroot/crossfire/${dir}/trunk trunk/${dir}
+ done
+ echo
+
+ Create another shell script called **svn-up.sh** as follows:
+
+ #!/bin/bash
+ #
+ for co in trunk
+ do
+ for dir in arch client maps server sounds
+ do
+ WORKING=${co}/${dir}
+ if [ -d ${CWD}/${WORKING} ]
+ then
+ echo; echo ${WORKING}; echo
+ cd ${CWD}/${WORKING}
+ svn update
+ cd ${CWD}
+ done
+ done
+ echo
+
+ =====Checkout the Crossfire sources=====
+
+ Execute the **svn-co.sh** script to check out the development sources.
- $ svn co https://
+ $ bash svn-co.sh
+ Proceed to [[user:kbulgrien#Crossfire development workspace setup|Crossfire development workspace setup]].
=======Mandriva qemu setup for Crossfire testing======
=====What packages are there?=====
@@ -214,12 +272,9 @@
$ exit
Shut down the virtual system with **Star | Log Out... | Turn Off Computer**.
- ====Backup the "clean" virtual host====
-
- $ cd ~/qemu/mandriva-one-2007-qemu-image
- $ tar -cjf mandriva-one-2007.qcow.img.devel.tar.bz2 mandriva-one-2007.qcow.img
+ Proceed to [[user:kbulgrien#Crossfire development workspace setup|Crossfire development workspace setup]].
======qemu packages======
The following Mandriva packages are available via urpmi.
IP-Address : 66.137.82.229
Old Revision: http://wiki.metalforge.net/doku.php/user:kbulgrien?rev=1188771881
New Revision: http://wiki.metalforge.net/doku.php/user:kbulgrien
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list