Mac 下 Myeclipse10 安装 egit插件

来源:互联网 发布:淘宝客云建站怎么关了 编辑:程序博客网 时间:2024/05/15 08:35


前几天为了安装egit插件,吃了不少苦,这里记录下安装的过程,方便以后再次安装。也希望对遇到同样问题的朋友有所帮助。


先说明下我的安装环境,因为egit针对不同的环境,使用不同版本的包。。。

操作系统:Mac OS X

开发平台:myeclipse 10


经常查找资料,大致的说 在myeclipse里安装egit 有两种方式:

① 通过Myeclipse自带的Software and Workspace Center进行在线安装 (不推荐)


打开Myeclipse后 Help——》MyEclipse Configuration Center——》Software




输入 Name 和 URL:http://download.eclipse.org/egit/updates-2.3   这里我已经添加过了,所有有报错提醒。




点击 ‘Apply 5 Changes’ 开始更新





完成更新后重启Myeclipse 即可。



②通过直接将下载下来的egit插件放到  (推荐)


下载egit2.3插件包,资源路径:egit2.3 插件


解压下载后的资源得到


将该目录下的内容 全部拷贝至Myeclipse的安装路径下的dropins目录下的egit目录,若egit目录不存在,则自行创建
比如 我的Myeclipse的dropins目录路径为:/Applications/MyEclipse/MyEclipse 10.app/Contents/Profile/dropins

这里,我先在该dropins目录下创建了egit目录:mkdir egit

然后将artifacts.jar、content.jar 以及features、plugins目录拷到egit目录下

这里我时在mac终端下用cp指令完成相关操作,在拷贝的过程,发现mac终端下cp -rf 并不能将目录一并拷贝过来,只会将目录下的文件拷贝过来,这可能是unix和linux的一些不同吧,并未对此进行过深究。所以要现在egit下创建features和plugins两个目录后再将相关目录下文件拷贝过来。

在拷贝完后,就完成了egit插件的安装。打开myeclipse,在Preferences——》Team下能看到Git,则表明安装成功。


最后,说明下。。。我一开始是使用第一种方式进行安装的,但安装过程非常不顺利,先是安装完egit插件后,导致其他的插件损坏,myeclipse无法正常使用,无奈只能卸载myeclipse重新安装。而且第一种方法经常会在添加完Site后,myeclipse还是无法识别出egit2.3版本是符合当前myeclipse10的,需要重新启动myeclipse才可。所有最后我是用第二种方式完成egit插件的安装的,而且快了很多,所以这里强烈推荐使用第二种方式进行egit插件的安装。





下面附上,各个myeclipse对应的egit版本信息,以及egit各个版本的下载链接,(来源:http://blog.csdn.net/ocean20/article/details/16979025)


EGIT和Eclipse对应关系:

EGitreleased forSupported Version of Eclipse3.1.0.201310021548-rN/AEclipse 3.8.2/4.2.2 + (Juno)3.0.3.201309161630-r4.3.1 (Kepler SR1)Eclipse 3.8.2/4.2.2 + (Juno)3.0.1.201307141637-r4.3.0 (Kepler)Eclipse 3.8.2/4.2.2 + (Juno)2.3.1.201302201838-r3.8.2/4.2.2 (Juno SR2)Eclipse 3.7.2+ (Indigo) (except EGit Import Support feature, which is optional)2.2.0.201212191850-r3.8.1/4.2.1 (Juno SR1)Eclipse 3.7.2+ (Indigo) (except EGit Import Support feature, which is optional)2.1.0.201209190230-r3.8.1/4.2.1 (Juno SR1)Eclipse 3.5.2+ (Galileo) (except EGit Import Support feature, which is optional)2.0.0.201206130900-r3.8/4.2 (Juno)Eclipse 3.5.2+ (Galileo) (except EGit Import Support feature, which is optional)1.3.0.201202151440-r3.7.2 (Indigo SR2)Eclipse 3.5.2+ (Galileo)1.2.0.201112221803-r3.7.2 (Indigo SR2)Eclipse 3.5.2+ (Galileo)1.1.0.201109151100-r3.7.1 (Indigo SR1)Eclipse 3.5.2+ (Galileo)1.0.0.201106090707-r3.7.0 (Indigo)Eclipse 3.5.2+ (Galileo)

EGIT下载地址:


Release Versionp2 repository URLbrowse p2 repository3.1.0.201310021548-r (latest release)http://download.eclipse.org/egit/updates-3.1updates-3.13.0.3.201309161630-rhttp://download.eclipse.org/egit/updates-3.0.3updates-3.0.33.0.1.201307141637-rhttp://download.eclipse.org/egit/updates-3.0.1updates-3.0.13.0.0.201306101825-rhttp://download.eclipse.org/egit/updates-3.0updates-3.02.3.1.201302201838-rhttp://download.eclipse.org/egit/updates-2.3updates-2.32.2.0.201212191850-rhttp://download.eclipse.org/egit/updates-2.2updates-2.22.1.0.201209190230-rhttp://download.eclipse.org/egit/updates-2.1updates-2.12.0.0.201206130900-rhttp://download.eclipse.org/egit/updates-2.0updates-2.01.3.0.201202151440-rhttp://download.eclipse.org/egit/updates-1.3updates-1.31.2.0.201112221803-rhttp://download.eclipse.org/egit/updates-1.2updates-1.21.1.0.201109151100-rhttp://download.eclipse.org/egit/updates-1.1updates-1.11.0.0.201106090707-rhttp://download.eclipse.org/egit/updates-1.0updates-1.00.12.1 (Incubation)http://download.eclipse.org/egit/updates-0.12updates-0.120.11.3 (Incubation)http://download.eclipse.org/egit/updates-0.11updates-0.110.10.1 (Incubation)http://download.eclipse.org/egit/updates-0.10updates-0.100.9.3 (Incubation)http://download.eclipse.org/egit/updates-0.9updates-0.90.8.4 (Incubation)http://download.eclipse.org/egit/updates-0.8updates-0.8
0 0
原创粉丝点击