spring 3 源码下载与eclipse导入

首先 下载git
http://code.google.com/p/msysgit/downloads/list?can=3&q=official+Git
安装(略...,网上都有呵)


然后cmd环境下执行如下操作
[quote]
1,check out sources

git clone git://github.com/SpringSource/spring-framework.git

2,compile and test, build all jars, distribution zips and docs

gradlew build

注:此处报错的话,请调整下java内存设置(环境变量下设置:JAVA_OPTS=-Xms512m -Xmx1024m )

3,install all spring-* jars into your local Maven cache

gradlew install
[/quote]

执行
[quote]
gradlew cleanEclipse :spring-oxm:compileTestJava eclipse -x :eclipse
[/quote]
后导入子目录
(注意此处需jdk6,本人使用的IDE为:eclipse-jee-indigo-SR2-win32.zip)
执行完,应该是不报错的

执行
[quote]
gradlew :eclipse
[/quote]
导入根目录


至此,源码下载,导入完毕


参考:[url]https://github.com/SpringSource/spring-framework#building_from_source[/url]
[url]http://code.google.com/p/msysgit/[/url]


效果图,见附件
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值