spring-framework源码中文注释解析(一)idea导入源码

本文介绍了如何将spring-framework源码导入IDEA进行学习和研究。首先,从GitHubFork并下载源码,接着安装并使用Gradle。通过执行gradlew.bat完成预编译,然后在IntelliJ IDEA中导入项目,排除spring-aspects模块,最后设置自动导入和Gradle参数,等待构建完成,成功显示目录结构即表示导入成功。

开始学习spring-framework。

准备工作:

1.将 framework源码 地址:https://github.com/spring-projects/spring-framework。 Fork到自己的github中,地址:https://github.com/chijiaoluohan/spring-framework

2.下载GitHubDesktop可视化工具,将项目clone到本地。

3.因为源码是基于gradle的,所以下载并且安装gradle。

4.源码目录中,有用Markdown语法写的说明。如图:

其中的内容:

1. Precompile `spring-oxm` with `./gradlew :spring-oxm:compileTestJava`
2. Import into IntelliJ (File -> New -> Project from Existing Sources -> Navigate to directory -> Select build.gradle)
3. When prompted exclude the `spring-aspects` module (or after the import via File-> Project Structure

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值