?
Because the online tutorials have some problems, resulting in the import failed, so wrote this blog to the needs of friends
??
1. confirm that the following two are installed
???? 1.JDK 1.6+?
???? 2.ANT? : a Build tool
2. get the SPRING Source code
???? the current version is 3.1.1 : ? Download
???? can also be from GitHub on the Get :???? Download
3. After the download is complete, rename the root folder to 1toavoid a long string
????
4. Select the Project folder to extract to the root directory
??
5 Find Project\spring-build\common\quality.xml Comment out the Line
???? <!--<test-run classpath.id= "Test.run.classpath"/>--
? ? Skip Test
6. Open CMD to go to the project\build-spring-framework directory
???? 1). Prevent memory Overflow OOM
????????? Set? ant_opts=-xx:maxpermsize=1024m-xmx1024m-dtest.vm.args=-xx:maxpermsize=512m-xmx1024m
???? 2). with Ant Build
????????? Ant
???? 3). Loading local maven Cache
???????? Ant Install-maven
??
7. Open eclipse import entire project
??
8. set ivy_cache
???? Project Right-click -propertis-java build Path-libraries-add variable-configure variables-new
???? Name fill ivy_cache
???? Path Select folder and choose project/ivy-cache/repository
9. Click OK, wait a moment and you're done.
???? under :
????????
????????
??
???? accomplished ~
Load from blog? http://zys0523.iteye.com/blog/1533502
Good friends in English can also refer to the official website for components, http://spring.io/blog/2009/03/03/building-spring-3
Spring3.0 Build Process