Difference between revisions of "Documentation/4.1/Developers/Build Instructions/CheckoutSourceCode"

From Slicer Wiki
Jump to: navigation, search
(Created page with '== CHECKOUT slicer source files == Two options: <code>svn</code> or <code>git-svn</code> To make '''review''' and '''integration''' of your welcome contributions, we reco…')
 
(No difference)

Revision as of 04:03, 12 June 2012

Home < Documentation < 4.1 < Developers < Build Instructions < CheckoutSourceCode

CHECKOUT slicer source files

Two options: svn or git-svn

To make review and integration of your welcome contributions, we recommends the use of git-svn



Note that even if you use svn to check out Slicer source code, you will need to have git installed to checkout and build other libraries. YES, you need to install the things listed in the prerequisites !.


Using git-svn

 git clone git://github.com/Slicer/Slicer.git
 cd Slicer
 git svn init http://svn.slicer.org/Slicer4/trunk
 git update-ref refs/remotes/git-svn refs/remotes/origin/master
 git checkout master
 git svn rebase

Consider reading the following page: Slicer guide to git-svn

Using svn

cd MyProjects
svn co http://svn.slicer.org/Slicer4/trunk Slicer

Note: be sure to name your source directory 'Slicer' for compatibility with the build process.