Before you start looking at the code. The first thing to do is to download the code.
Here: Https://github.com/spring-projects/spring-framework
Download the full use discovery Gradle to build a management tool to do the source.
Thankfully, Spring has written a script tool for importing Eclipse, including the following structure:
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqveglhbwl6eq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
A script file was found: Import-into-eclipse.bat, who was responsible for importing today,
Note that you need to switch the JDK to 1.8 before this. Otherwise the compilation will be wrong (mainly in the test Example section)
Wait for a lengthy compilation. Here is a question, when the gradle is not installed, the script will voluntarily download Gradle
After the operation is complete this:
With several eclipse configurations, you can now import the
Next, you will be able to import the normal.
The idea used above, of course eclipse is the same.
Of course. Assuming the source code of the study, it is recommended to compare MAVEN import jar packages. Convenient barcode reader.
Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.
Spring Framework 4 source code reader (1)---prepared beforehand