From: <no...@us...> - 2010-07-02 18:39:36
|
Revision: 23526 http://gmod.svn.sourceforge.net/gmod/?rev=23526&view=rev Author: nomi Date: 2010-07-02 18:39:28 +0000 (Fri, 02 Jul 2010) Log Message: ----------- Fixed instructions for downloading and compiling Apollo code. Modified Paths: -------------- apollo/trunk/doc/html/userguide.html Modified: apollo/trunk/doc/html/userguide.html =================================================================== --- apollo/trunk/doc/html/userguide.html 2010-07-02 17:48:42 UTC (rev 23525) +++ apollo/trunk/doc/html/userguide.html 2010-07-02 18:39:28 UTC (rev 23526) @@ -3628,51 +3628,34 @@ <h2>Getting the source code</h2> <a NAME="source"></a> You can download the latest Apollo source code from -<a href=http://sourceforge.net/projects/gmod>SourceForge</a>. Each major release includes a -<a href=http://sourceforge.net/project/showfiles.php?group_id=27707>tarfile of the -SourceForge</a>. If you are going to be actively involved in changing the Apollo code, though, you are better off getting the up-to-the-minute code from <a href=http://sourceforge.net/cvs/?group_id=27707> -SourceForge CVS</a>. +<a href=http://sourceforge.net/projects/gmod/files/>SourceForge</a>. Each +major release is available as a gzipped tar file. If you are going to be +actively involved in changing the Apollo code, though, you are better off +getting the up-to-the-minute code +from the <a href=http://gmod.svn.sourceforge.net/viewvc/gmod/apollo/> +SourceForge SVN repository</a>. <P> -Here is the command you can use for checking out the whole Apollo -distribution from sourceforge: +To check out the whole Apollo distribution from SourceForge, say: <pre> -setenv CVS_RSH ssh -cvs -z3 -d:ext:mya...@gm...:/cvsroot/gmod checkout -d apollo apollo +svn co https://gmod.svn.sourceforge.net/svnroot/gmod/apollo/trunk apollo </pre> -For "myaccount", substitute your own SourceForge account name. (It's a good -idea to get a SourceForge account if you're going to be doing this--it's -quick, free, and they don't send you spam.) If you don't want to get an -account on SourceForge, you can do an anonymous checkout; however, -anonymous checkouts give you a version that's a few days out of date. -To check out an anonymous version: -<pre> -cvs -d:pserver:ano...@gm...:/cvsroot/gmod login -cvs -d:pserver:ano...@gm...:/cvsroot/gmod checkout -d apollo apollo -</pre> <P> -The "-d apollo" specifies the directory name you want the Apollo stuff to -go in, so you can change that if you want to put it somewhere else. -<P> -After you've checked out the code, compiling it is straightforward: +After you've checked out the distribution, you will need <a target=ant href=http://ant.apache.org/>Ant</a> (available free +from http://ant.apache.org/) to +compile the source. Then do the following: <pre> cd apollo -setenv APOLLO_ROOT `pwd` +setenv APOLLO_ROOT `pwd` [or APOLLO_ROOT=`pwd` if you use bash] cd src/java -make clean [only necessary if you've already compiled and then updated] -make jar +ant jar </pre> -You can also use <a target=ant href=http://ant.apache.org/>Ant</a> (available free -from http://ant.apache.org/) to -compile the source. It runs faster than make and is also easier to use if -you're working on a Windows platform. <P> To run your newly compiled apollo say: <pre> ~/apollo/bin/apollo </pre> (where ~/apollo is the directory where you've installed apollo--change -as appropriate). You won't be able to run "Apollo" (with a capital A) like -you may have done if you used the installed version of Apollo. +as appropriate). <P> Note that all these instructions assume that you're on a Unix-y system. If you're on Windows and you've already installed Apollo, you This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |