在 eclipse 要用 svn, 一般而言, 要完成兩部分的安裝
- Subversive plug-in (http://www.eclipse.org/subversive/latest-releases.php)
- SVNKit (http://svnkit.com/)
- Subversive SVN Connectors.(http://www.polarion.com/products/svn/subversive/download.php)
支援 SVN versions 1.1 through 1.7
Installation of Subversive SVN Connectors:
- SVNKit connector
- JavaHL binaries
安裝方法: http://www.eclipse.org/subversive/installation-instructions.php
人手安裝 plug-in:
1. 下載所要的 plugin (http://www.eclipse.org/subversive/latest-releases.php)
2. 按 Help > Install New Software
3. 之後按 "Add", 然後選 archive
4. 最後選擇安裝的項目, 然後 Next
5. 之後會 auto restart eclipse
人手安裝 connector:
1. 安裝 SVNKit, 下載, 之後與 plugin 的過程差不多
2. 安裝 connector, 下載 archive
P.S. SVN 0.7 及 SVN 1.0 是不同 connector 的 !
安裝後設定使用 connector:
Window > Preferences > Team (tree node) > SVN (tree node) > SVN Connector (tab).
Usage
File -> Import -> SVN
Updating a project
Right-click on the project you want to update, then choose Team > Update
Committing your changes
Team > Commit
P.S. 一定要 update 之後才好 Commit !!
property
svn:ignore keep certain files out of the repository