您的位置:首页 > 产品设计 > UI/UE

解决flash builder4.7安装git插件遇到的若干问题

2013-08-01 12:35 721 查看
如果直接点击Help > Eclipse Marketplace,然后搜索Egit, 以这种方式安装是会失败的!!!



因为版本兼容的问题。依次点击Help > About Flash Builder,然后点Eclipse的图标,也就是鼠标滑过有Eclipse.org的那个



这时,我们来看下Eclipse的版本,版本是3.7.0, 是2011年的,也就是说Flash Builder4.7用的是老版本的Eclipse.



所以,我们要下载老版本的Egit

因为我们的Eclipse版本是3.7.0,所以我们要下载的Egit是2.1.0的这个,注意图中红色标出的,except EGIT Import Support feature



一会儿安装Egit的时候,要把Import Support去掉,这个是可选的

下载2.1.0的Egit,下载地址是

http://download.csdn.net/detail/liushen829475/5894627

然后安装,依次点击Help > Install New Software

然后点击Add, 接着name里填Egit, 点Archive选择你刚刚下载的Egit的压缩包



然后就开始安装Egit吧,注意EGit Plug-in Import Support前的勾要去掉



后面的步骤一直进行下去就行了。

如果遇到报错,Cannot complete the install because one or more required items could not be found.

  Software being installed: Eclipse JGit Command Line Interface 2.1.0.201209190230-r (org.eclipse.jgit.pgm.feature.group 2.1.0.201209190230-r)

  Missing requirement: Eclipse JGit Command Line Interface 2.1.0.201209190230-r (org.eclipse.jgit.pgm.feature.group 2.1.0.201209190230-r) 

  requires 'org.kohsuke.args4j [2.0.0,3.0.0)' but it could not be found

这是找不到org.kohsuke.args4j,到这下载

http://download.csdn.net/detail/liushen829475/5894543

然后解压,把几个jar文件放到jre目录下,即java安装目录的jre目录下。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息