Prev Next subversion

Using Subversion To Download Source Code

File Format
The files corresponding to this download procedure are in Unix format; i.e., each line ends with just a line feed.

Subversion
You must have subversion installed to use this download procedure. In Unix, you can check if subversion is already installed in your path by entering the command
 
	which svn


OMhelp
The documentation for CppAD is built from the source code files using OMhelp . In Unix, you can check if OMhelp is already installed in your path by entering the command
 
	which omhelp


Current Version
The following command will download the current version of the CppAD source code:
     svn co https://projects.coin-or.org/svn/CppAD/
dir dir
where dir is replaced by trunk. To see if this has been done correctly, check for the following file:
     
dir/cppad/cppad.hpp

Stable Versions
Subversion downloads are available for a set of stable versions (after the specified date, only bug fixes get applied). The following link will list the available dir values corresponding to stable versions . The following command will download a stable version of the CppAD source code:
     svn co https://projects.coin-or.org/svn/CppAD/stable/
dir dir
To see if this has been done correctly, check for the following file:
     
dir/cppad/cppad.hpp

Release Versions
Subversion downloads are available for a set of release versions (no changes are applied). The following link will list the available dir values corresponding to release versions . The following command will download a stable version of the CppAD source code:
     svn co https://projects.coin-or.org/svn/CppAD/stable/
dir dir
To see if this has been done correctly, check for the following file:
     
dir/cppad/cppad.hpp

Build the Documentation
Now build the documentation for this version using the commands
     mkdir 
dir/doc
     cd 
dir/doc
     omhelp ../doc.omh -noframe -debug -l http://www.coin-or.org/CppAD/ -xml

Continue with Installation
Once the steps above are completed, you can proceed with the install instructions in the documentation you just built. Start by opening the file
     
dir/doc/index.xml
in a web browser and proceeding to the Unix or Windows install instructions.
Input File: omh/subversion.omh