1) The current system is installed Gradle, if the installation, you can from: http://www.gradle.org/downloads, after downloading to extract to any drive letter, and then increase the environment variable gradle_home, and add% in the environment variable bin Gradle_home%/bin, open DOS window, run gradle-v, the version number and other information, indicating the successful installation;
2) Spring4 with JDK8, so requires current system installation OPENJDK 8 Early access build or later, click the link to download. After installation, you will also need to confirm that the JAVA_HOME environment variable points to the newly installed JDK8
3) Install GitHub: Now the spring source code is managed on GitHub, so you need to download githup,http://windows.github.com first;
4) Download Groovy, I'm using groovy-binary-2.4.0, because spring uses groovy and configures the environment variables when it's finished downloading.
5) Download Spring Source: First open the Git shell, switch to your working directory, and enter the following command: Git clone git://github.com/springsource/ Spring-framework.git, behind a string is the source code. About half an hour of appearance, you can download the complete, this time in your working directory will appear in the Spring-framework directory, there are spring components of the source package; If you don't use the command, git:https://github.com/ springsource/spring-framework/
6) You will be prompted to install the spring STS at compile time.
Http://springsource.org/downloads/sts
Select the appropriate version to download, I choose to download the 32-bit ZIP version based on eclipse KEPLER 4.3
For:
Http://download.springsource.com/release/STS/3.3.0/dist/e4.3/spring-tool-suite-3.3.0.RELEASE-e4.3-win32.zip
7) Spring-framework directory to find Import-into-eclipse.bat, and run, the Eclipse project will generate the appropriate files, import them all into eclipse.
8) on the command line, there will be a prompt, under CMD, to run: gradlew:eclipse, generate. Classpath and. Project. Note: To execute this command in the same directory as the spring source you downloaded, you will be prompted:
' Gradlew ' is not an internal or external command, nor is it a running program
or batch file.
8 Note: After each project has been imported into eclipse, the author encounters a groovydynamicelementreader error because the Eclipse plugin for groovy is not installed.
Add Groovy's download connection in Help, Install New software, eclipse
http://dist.springsource.org/milestone/GRECLIPSE/e4.4/
Then select All, start the download, download it, restart Eclipse, and clean up the project.
"Links can be found here: Http://groovy.codehaus.org/Eclipse+Plugin
http://dist.springsource.org/milestone/GRECLIPSE/e4.4/
Or:http://dist.springsource.org/release/GRECLIPSE/e4.4/
或:
http://dist.springsource.org/snapshot/GRECLIPSE/e4.4/
It's best to match the version of the groovy plugin with the version of Eclipse and the groovy version that spring uses.
Then select All, start the download, download it, restart Eclipse, and clean up the project.
PS: If you do not provide a plugin to download after the link is added, it is recommended that you open the FQ software (and then download it). 】
Finally, you'll find that the groovy files in eclipse are colored, which means that eclipse recognizes groovy files.
Before the BBS on their own questions, solve their own: http://bbs.csdn.net/topics/390993197
Reprint Please specify: http://blog.csdn.net/paincupid/article/details/43902437
git downloads the spring project source and compiles it into eclipse