Spring源码(一) 源码转换eclipse工程
工欲善其事必先利其器
安装github
github官网:https://desktop.github.com/
安装 Gradle
gradle官网:
https://gradle.org/releases/
下载源码Spring 源码:git clone git://github.com/SpringSource/Spring-framework.git
将源码进行Eclipse工程转换,比如我们想要查看Spring事物的部分源码,打开命令窗口,将当前目录切换到源码所在目录,例如这里是Spring-aop文件夹下 执行命令:
gradle cleanidea eclipse
如果转换成功会出现build success 字样
文件夹中 会发现 作为Eclipse工程必须的.project 和.classpath文件了