Spring Source Code download, spring

Source: Internet
Author: User

Spring Source Code download, spring

Spring has migrated the source code from SVN to Github, and has also changed to build a project based on Gradle. It replaces the ANT + Ivy system, therefore, to build the Spring source code, install Github and Gradle first.

First, let's assume that you have successfully installed Github and Gradle.

After Gradle is downloaded, You need to configure environment variables: similar to JDK configuration. Here, configure GRADLE_HOME and path.

The following describes how to download the source code and compile it into a project that can be identified by eclipse.

1. First open Github and enter the command cd e: // Spring to locate the location where the source code is downloaded to the local device,

2. Enter the command: git clone git: // github.com/springsource/spring-framework.git, and enter the download stage of the source code.

3. compile any project we need, such as spring-beans: cd e: // Spring/Spring-framework/spring-beans, and then execute gradle cleanIdea eclipse. You can convert the Spring-beans project to a project that eclipse can recognize.

4. after adding eclipse, we will find that this project may depend on other projects. In this case, we need to use step 3 to import other projects and add them to the dependencies, or directly find the corresponding jira package and put it in.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.