1. 程式人生 > >Mac中Eclipse安裝和使用svn

Mac中Eclipse安裝和使用svn

next cnblogs sudo ive png 安裝svn 技術分享 ips update

安裝svn

安裝HomeBrew

在終端中輸入
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)";

安裝JavaHL

在終端中輸入
brew install --universal --java subversion
安裝完成後,執行下邊的兩個sudo命令:
在終端輸入:
sudo mkdir -p /Library/Java/Extensions
sudo ln -s /usr/local/homebrew/lib/libsvnjavahl-1.dylib /Library/Java/Extensions/libsvnjavahl-1.dylib


安裝完成後會提示安裝的JavaHL的版本是1.9.4

安裝subclipse

然後根據JavaHL的Wiki文檔中
技術分享
1.Eclipse-Help-Install New Software...
2.點擊add按鈕,name隨便輸入,Location輸入http://subclipse.tigris.org/update_1.12.x
技術分享
一路Next

設置Eclipse的Preferences

技術分享

使用svn

Eclipse-Window-Show View-Other...
技術分享
在SVN資源庫中右鍵,就可以了
技術分享

Mac中Eclipse安裝和使用svn