0
点赞
收藏
分享

微信扫一扫

Spring FrameWork 源码编译

陆佃 2021-10-15 阅读 48
日记本
  • 预先准备环境
  1. Window 10
  2. JDK环境
  3. List item
  4. Gradle 以及其环境变量配置
  5. spring-framework源码(https://gitee.com/mirrors/Spring-Framework)由于GitHub被微软收购以后,国内访问速度堪忧,所以提供码云的同步源码仓库、
  • 导入 IDEA

这里的编译过程是参考源码文件夹中的 import-into-idea.md 文档

  1. 执行./gradlew :spring-oxm:compileTestJava 先对 Spring-oxm 模块进行预编译。
  2. 在IDEA中 File -> New -> Project from Existing Sources -> Navigate to directory选择build.grale文件打开


  1. 在spring-aspects中右键模块load/upload modules,upload spring-aspects的三个子目录
    spring-aspects
    spring-aspects_ main
    spring-aspects test




等待项目编译,时间可能会很长,请耐心等待。

举报

相关推荐

0 条评论