升级Mac的svn版本
由于新的subclipse插件仅支持1.7以上的subversion
于是需要将Mac的svn更新
比较简单的方式是通过MacPorts(不止可用于安装subversion,有点像linux的yum)
官网:http://www.macports.org
先根据系统版本下载安装包
MountainLion
https://distfiles.macports.org/MacPorts/MacPorts-2.1.3-10.8-MountainLion.pkg
Lion
https://distfiles.macports.org/MacPorts/MacPorts-2.1.3-10.7-Lion.pkg
SnowLeopard
https://distfiles.macports.org/MacPorts/MacPorts-2.1.3-10.6-SnowLeopard.pkg
按提示很简单就能完成
安装完成后MacPorts会修改~/.bash_profile
类似这样
### Your previous /Users/XXX/.bash_profile file was backed up as /Users/XXX/.bash_profile.macports-saved_2012-09-13_at_09:52:48### MacPorts Installer addition on 2012-09-13_at_09:52:48: adding an appropriate PATH variable for use with MacPorts.export PATH=/opt/local/bin:/opt/local/sbin:$PATH# Finished adapting your PATH environment variable for use with MacPorts.
sudo port -d selfupdate
port install subversion
sudo port install subversion-javahlbindings +no_bdb +universal