Spring源码导入eclipse

2016/02/27

Spring源码包下载

Spring各个版本的源码包可以在github这个页面下载,选择你想要研究的Spring版本,我下载了最新的release版本4.2.5。

插件安装

执行Spring源码包根目录下的import-into-eclipse.sh可以生成eclipse相关的工程文件,执行后显示如下信息:

提示需要安装AJDT和groovy插件。

1.安装AJDT插件
AJDT插件最新地址可从此页面获取:http://www.eclipse.org/ajdt/downloads/
目前的release版本只支持eclipse4.4,我使用的是eclipse4.5,在google上找到这个页面:http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01651.html。
适用于eclipse4.5的dev版本:http://download.eclipse.org/tools/ajdt/45/dev/update。

在eclipse中安装AJDT dev version for eclipse 4.5:

install details:

2.安装groovy插件
插件获取地址:https://github.com/groovy/groovy-eclipse/wiki
刚好最新能支持到eclipse4.5:http://dist.springsource.org/snapshot/GRECLIPSE/e4.5/

生成eclipse工程文件

最后执行import-into-eclipse.sh,请自备梯子,很多文件下载很慢,有vpn就快多了。

(转载本站文章请注明作者和出处 湘江鸿的博客

Post Directory