您的位置:首页 > 编程语言 > Java开发

关于Mac 中Eclipse 的SVN 提交的时候提示 out of date的问题

2014-09-15 00:00 459 查看
初用MAC,还是略微有些不习惯,不仅仅是因为很多软件是英文的,主要还是一些没遇到过的错误,很难找到合适的解决方案。

在eclipse 使用的过程中,出现svn 提交代码报错的问题: out of date

谷歌了一下:

搜索eclipse 中svn接口内容,发现可以安装使用 javaHL., 然后搜索subclipse 和 java hl 到此页面:
http://subclipse.tigris.org/wiki/JavaHL#head-5bf26515097c3231c1b04dfdb22c036bc511926b

阅读相关内容,发现在 os x 系统中,需要安装 相关的包

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。 如果无效,重启系统吧
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: