初用MAC,仍是略微有些不習慣,不單單是由於不少軟件是英文的,主要仍是一些沒遇到過的錯誤,很難找到合適的解決方案。 java
在eclipse 使用的過程當中,出現svn 提交代碼報錯的問題: out of date app
谷歌了一下: eclipse
搜索eclipse 中svn接口內容,發現能夠安裝使用 javaHL., 而後搜索subclipse 和 java hl 到此頁面: svn
http://subclipse.tigris.org/wiki/JavaHL#head-5bf26515097c3231c1b04dfdb22c036bc511926b post
閱讀相關內容,發如今 os x 系統中,須要安裝 相關的包 code
OSX comes with a SVN command line client, but unfortunately they do not include the JavaHL library. The best thing to do is to install one of the OSX package managers for open-source software, such as MacPorts or HomeBrew. If you are doing software development on OSX, you are going to eventually want or need different open-source Unix applications. So it is worth the effort to set one of these up and they make it easy for you to get Subversion and always have the latest version. You will also have easy access to other open source applications via similar simple commands. For MacPorts, the commands to run are: sudo port install subversion-javahlbindings +no_bdb +universal For HomeBrew the command is: brew install --universal --java subversion Pay attention to any post-install instructions related to creating a symlink in /Library/Java/Extensions. You need to follow these instructions so that the JavaHL library is available by default to the JVM.
3. 安裝 MacPorts,運行相關命令 接口
4.重啓eclipse。 若是無效,重啓系統吧 ip