spring源码解析--环境搭建

一、安装github

下载地址http://github-windows.s3.amazonaws.com/GitHubSetup.exe,完成后安装会出现gitshell和github

二、下载spring源码

https://github.com/spring-projects/spring-framework/tree/3.2.x,选择master分支以及版本号,复制地址,然后在gitshell上新建目录,且切换到对应目录上

C:\Users\QINP\Documents\GitHub> git config --global user.name "Sezioo"
C:\Users\QINP\Documents\GitHub> git config --global user.email "791360277@qq.com"
C:\Users\QINP\Documents\GitHub> cd d:

D:\> mkdir spring-projects

    目录: D:\

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----        2018/7/12     22:56                spring-projects
D:\> cd .\spring-projects\
D:\spring-projects> git init
Initialized empty Git repository in D:/spring-projects/.git/
D:\spring-projects [master]> touch readme
D:\spring-projects [master +1 ~0 -0 !]> cd /

D:\> mkdir gitSource

D:\> cd .\gitSource\

D:\gitSource> git clone https://github.com/spring-projects/spring-framework.git

三、安装gradle,对下载源码进行编译、导入

从www.gradle.org/downloads页面下载Gradle,然后设置环境变量。

切换到需要编译的工程源码目录执行,gradle cleanidea eclipse。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值