It is relatively simple to install the svn plugin in eclipse under mac:
1. Download the plug-in package, address: http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA
2. The site-1.10.2.zip I downloaded here (after svn1.8 is supported), extract this compressed package to
/Applications/Eclipse.app/Contents/Eclipse/dropins
3. Delete Applications/Eclipse.app/Contents/Eclipse/configuration/org.eclipse.update and start eclipse.
4. Click Eclipse-Preferences, expand Team-SVN, and display the following
5. Install JavaHL, pay attention (the version correspondence between javaHL and subversion, check here )
5.1, download the subversion installation package for mac, download address: http://www.wandisco.com/subversion/download , here is Mac OSX 10.11 - El Capitan - Subversion 1.8.15
5.2, install subversion, the download package this time is Subversion-1.8.15_10.11.x.pkg, double-click to execute the installation, the default installation location is /opt/subversion;
5.3, configure JavaHl, execute the following two commands in the terminal:
sudo ln -s /opt/subversion/lib/libsvnjavahl-1.dylib /Library/Java/Extensions/libsvnjavahl-1.dylib
sudo ln -s /opt/subversion/lib/svn-javahl/svn-javahl.jar /Library/Java/Extensions/svnjavahl.dylib
6. Restart eclipse, check Eclipse-Preferences-Team-SVN, display:
7. Use svn normally.
refer to:
http://subclipse.tigris.org/wiki/JavaHL
http://www.cnblogs.com/yinxiangpei/articles/3859057.html