SVN checkout
The XP framework's sourcecode is maintained in a subversion
(SVN) repository. Anonymous
Anyone can check out the sourcecode! To check out the XP framework's sources
into a directory named xp in the current working directory, use the
following command: $ mkdir ~/devel $ cd ~/devel $ svn co svn://xpsrv.net/xp/trunk xp
This will not require credentials but will also be a read-only checkout. Developer
If you have a developer account and would like to be able to commit to the
XP framework's sources, you need to use the following command: $ mkdir ~/devel
$ cd ~/devel
$ svn co svn+ssh://{USER}@xpsrv.net/home/svn/xp/trunk xp
Runners
If you don't already have them by having installed an XP release, go get them:
Use the --source
To use the development version instead of a release, change the use_xp
setting in your xp.ini file (it will be located in the ~/bin
directory if you followed the instructions from above): $ echo "use=~/devel/xp" > ~/bin/xp.ini
Switching
To quickly switch between release and development version, you can employ
the USE_XP environment variable: $ xp -v
XP 5.7.2-dev { PHP 5.2.8 & ZE 2.2.0 } @ Windows NT CARLA 6.0 build 6001
Copyright (c) 2001-2009 the XP group
[...]
$ USE_XP=~/xp/5.7.1 xp -v
XP 5.7.1 { PHP 5.2.8 & ZE 2.2.0 } @ Windows NT CARLA 6.0 build 6001
Copyright (c) 2001-2009 the XP group
[...]
The development version will always contain the suffix "-dev". See also | Table of contents |