- 預(yù)先準(zhǔn)備環(huán)境
- Window 10
- JDK環(huán)境
- List item
- Gradle 以及其環(huán)境變量配置
- spring-framework源碼(https://gitee.com/mirrors/Spring-Framework)由于GitHub被微軟收購(gòu)以后,國(guó)內(nèi)訪問(wèn)速度堪憂,所以提供碼云的同步源碼倉(cāng)庫(kù)入挣、
- 導(dǎo)入 IDEA
這里的編譯過(guò)程是參考源碼文件夾中的 import-into-idea.md 文檔
- 執(zhí)行./gradlew :spring-oxm:compileTestJava 先對(duì) Spring-oxm 模塊進(jìn)行預(yù)編譯。
- 在IDEA中 File -> New -> Project from Existing Sources -> Navigate to directory選擇build.grale文件打開(kāi)
1
2
-
在spring-aspects中右鍵模塊load/upload modules,upload spring-aspects的三個(gè)子目錄
spring-aspects
spring-aspects_ main
spring-aspects test
3
4
5
等待項(xiàng)目編譯通危,時(shí)間可能會(huì)很長(zhǎng)弊仪,請(qǐng)耐心等待跳芳。
Spring-framework跳過(guò)單測(cè),可以執(zhí)行./gradlew build -x test