1, download the source code and unzip
Https://github.com/spring-projects/spring-framework/tree/v3.2.5.RELEASE
2, the source code compiled cmd into the spring source root directory, the implementation of compiled Source: Gradlew build may have problems: (1) If some methods are not found, you need to check the JDK version, some methods of version 1.6 will not be found. Need to upgrade JDK to 1.7+ (2) appears: Java.lang.OutOfMemoryError:GC overhead limit exceeded or Java.lang.OutOfMemoryError:java heap Space will need to increase the JVM heap memory, modify the Gradlew.bat JVM settings, generally set to 512m is enough, you can open the local jvisualvm.exe see the compilation process stack changes, according to the actual situation set
(3) Some test code compilation does not pass, then set the compilation skip Gradle build-x test
3, pull the dependency package Gradlew install may be a problem: some packages can not pull down, due to network reasons, because all are from the foreign site, you may get some VPN agent to go through the wall access
4. Generate eclipse required. Classpath IDE dependent files Gradlew Cleanidea eclipse
5, import eclipse but found no way to all of a sudden in the lead, need a module to enter the problem may occur: (1) Eclipse AspectJ Internal Compiler error should be the eclipse version of the bug, The latest version of Eclipse can be downloaded and then re-imported (2) some modules are not compiled, mainly because some of the test code used by the dependency package does not exist, can be removed. And then remove the corresponding test code to
Spring source compiles and imports eclipse