egit 安装方法

17 Jan 2009 / Edit / History
由于某些原因[1]不能直接使用 egit 的 update site. 以下为直接安装 egit 的方法

1. 下载 egit 源码
$ git clone git://repo.or.cz/egit.git

2. 打开 eclipse, 选择 File -> Import -> General -> Existing Projects into Workspace, 选择刚才的 git 目录, 导入全部的项目(大约是9个)

3. 等待 Eclipse 的 Building Workspace 结束

4. 找到 org.spearce.egit-updatesite 项目,用 "Site Manifest Editor" 打开 site.xml (缺省就是这个)

5. 在打开的界面点击 "Build All"。 注意如果以前安装过 egit, 这一步会出错,需要全部删除后重新开始。

6. 在 Help->Software Updates 中选择 Add Site, 然后点击 Local, 选择 org.spearce.egit-updatesite 的工程目录即可。

[1] http://code.google.com/p/egit/issues/detail?id=53

Tags:

Related Posts:

comments powered by Disqus
Copyright © 2017 LI Daobing, Powered by github:pages, Jekyll, bootstrap, Designed by quanquan
Fork me on GitHub