Checking out the code using TortoiseSVN (Recommended)
You'll need TortoiseSVN, a Subversion (SVN) source code control client. (You can, of course, use other SVN clients – see the other sections in this topic.)
After you've installed TortoiseSVN, you'll notice that, unlike clients such as SourceSafe or WinCVS, there is no application to "run". Rather, TortoiseSVN integrates right into the Explorer shell. So, instead of performing SCM operations in a separate application window, you simply open up an explorer window and use the context-menu to invoke the desired operations. Checking out the code is straightforward:
| 1. | In Windows Explorer, create a new directory where you want the source code to go. Let's say it's C:\VSProjects\ClearCanvas. |
IMPORTANT: ENSURE THAT YOUR PATH DOES NOT CONTAIN ANY SPACES, OTHERWISE THE CODE WILL NOT BUILD PROPERLY
| 2. | Right-click on the ClearCanvas directory and select SVN Checkout. |
| 5. | At some point, Tortoise will require authentication. Use the following: username = 'opensource', password = 'opensource'. |
| 6. | The source tree contains a large number of files (well over 100 MB), so be prepared to wait a few minutes for the entire tree to be downloaded, depending on the speed of your Internet connection. |
Checking out the code using command line SVN
You'll need a Subversion command line client, like the ones from CollabNet.
| 1. | In a command line window, go to the directory where you want the source code folder to go. Let's say it's C:\VSProjects. |
IMPORTANT: ENSURE THAT YOUR PATH DOES NOT CONTAIN ANY SPACES, OTHERWISE THE CODE WILL NOT BUILD PROPERLY
| 2. | Type in the command: svn co svn://svn.clearcanvas.ca/source/Xian/Tags/RisViewer2.0SP1 ClearCanvas (note the case – it matters). |
| 3. | When prompted for authentication, use the following: username = 'opensource', password = 'opensource'. |
| 4. | The source tree contains a large number of files (well over 100 MB), so be prepared to wait a few minutes for the entire tree to be downloaded, depending on the speed of your Internet connection. |
Alternative source code versions
If you wish to build against the source for a different release, or against the latest development versions, you can replace the svn:// URL with one of the following:
| • | Tagged versions of the source tree for releases prior to 1.5 SP1 are currently unavailable. |