← Revision 1 as of 2006-07-27 20:35:22
Size: 3119
Comment:
|
← Revision 2 as of 2006-07-27 20:36:05 →
Size: 3131
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 60: | Line 60: |
A. Edit C:\Documents and Settings\*user*\Application Data\Subversion\config and add "ssh = C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe" after "[tunnels]" heading. | A. Edit C:\Documents and Settings\*user*\Application Data\Subversion\config and add "ssh = C:\Program Files\TortoiseSVN\bin\Tortoise''''''Plink.exe" after "[tunnels]" heading. |
Line 62: | Line 62: |
A. Set environment variable "SVN_SSH" to "C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe" | A. Set environment variable "SVN_SSH" to "C:\Program Files\TortoiseSVN\bin\Tortoise''''''Plink.exe" |
About SVN
The goal of the Subversion (SVN) project is to build a version control system that is a compelling replacement for CVS in the open source community. The software is released under an Apache/BSD-style open source license. Subversion is meant to be a better CVS, so it has most of CVS's features. Generally, Subversion's interface to a particular feature is similar to CVS's, except where there's a compelling reason to do otherwise. [http://subversion.tigris.org/]
In order to access an SVN repository, you must install a special piece of software called an SVN client; SVN clients are available for most any operating system. General SVN documentation is available on this [http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=254&expandFolder=254&folderID=257].
SVN Access
If you're remote you can check code out using ssh:
svn co svn+ssh://gamay.ucsd.edu/cellar/common/svn/nct/trunk nct
You can check out code anonymously:
svn co http://chianti.ucsd.edu/svn/nct/trunk nct
You can also browse the source repository with a normal web browser:
[http://chianti.ucsd.edu/svn/nct]
SVN Access in Eclipse
1. Setup Subversion plugin
[http://subclipse.tigris.org/install.html]
Remote site
For 3.1: [http://subclipse.tigris.org/update_1.0.x]
For 3.2: [http://subclipse.tigris.org/update_1.2.x] (Still beta?)
2. Check out project from UCSD Repository:
- File --> New --> Project - Select "SVN" - Create new repository. URL is:
svn+ssh://gamay.ucsd.edu/cellar/common/svn
- - You can use default values for port number etc.
- ID and password: same as CVS id & pw for gammay
3. Check in code
- - Almost same as GUI for CVS. Select "Team" menu item for more detail.
Tips and Troubleshooting
General advice for those who have difficulties getting SVN access in the Eclipse environment. These are not meant to be sequential steps. These are just 4 independent tips that address a range of issues, in no particular order. If just doing #1 works, then you're done. But if not, then #2-4 provide other things to try, leads derived from solutions found in various forums and FAQs.
1. SVN Interface:
In Eclipse, Window>Preferences>Team>SVN. Set SVN Interface to "JavaSVN (Pure Java)"
2. Define SSH Client for Subversion:
Edit C:\Documents and Settings\*user*\Application Data\Subversion\config and add "ssh = C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe" after "[tunnels]" heading.
Set environment variable "SVN_SSH" to "C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe"
3. Request a new password from Mike Smoot. Some old passwords may not work (mine didn't!)
4. Try alternative plugin: TortoiseSVN: [http://www.tabaquismo.freehosting.net/ignacio/eclipse/tortoise-svn/subversion.html]
Common Error Messages:
- Subclipse:
- "tunneling" problem. Solution = see #1 above.
- "malformed network data" = may be password problem
- "std output (err)" issue = may be password problem