首先 下载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]
效果图,见附件
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]
效果图,见附件