Spring3.0 Build Process

Source: Internet
Author: User

?

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

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.