- 开始
最近想导入 Spring 源码进行阅读,兴致冲冲就去 Github 下载。但是用 git 下载也太慢了吧。开了全局还是龟速,最后还报 error。小问号满脑子都是小朋友???
于是就直接下载了 zip 包,解压后有个 import-to-idea.md
,打开看一看。
The following has been tested against IntelliJ IDEA 2016.2.2
## Steps
_Within your locally cloned spring-framework working directory:_
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 -> Modules)
4. Code away
## Known issues
1. `spring-core` and `spring-oxm` should be pre-compiled due to repackaged dependencies.
See `*RepackJar` tasks in the build and https://youtrack