Building Spring source code

来源:互联网 发布:mac机appstore是英文 编辑:程序博客网 时间:2024/05/18 17:58

Building Spring source code

参考 Building spring 3 : http://blog.springsource.com/2009/03/03/building-spring-3/

 鸣谢:http://blog.csdn.net/yangyangyang009/article/details/6211665

1)  Download souce code

从官方网站下载 spring-framework-3.0.5.RELEASE-with-docs.zip  

解压以后,project文件夹下就是Spring的子项目。也可以从svn上check out。

结构如下:

build-spring-framework
build.properties
ci-build.properties
org.springframework.agent
org.springframework.aop
org.springframework.aspects
org.springframework.beans
org.springframework.config.java
org.springframework.context
org.springframework.context.support
org.springframework.core
org.springframework.expression
org.springframework.instrument
org.springframework.instrument.classloading
org.springframework.integration-tests
org.springframework.jdbc
org.springframework.jms
org.springframework.orm
org.springframework.oxm
org.springframework.samples.petclinic
org.springframework.spring-library
org.springframework.test
org.springframework.transaction
org.springframework.web
org.springframework.web.portlet
org.springframework.web.servlet
spring-build
spring-framework.ipr
spring-framework.psf

 

2)build

cd 到 build-spring-framework 

ant  漫长的load jar时间

1h以后>>>>>

报错 

Caught an exception while logging the end of the build.  Exception was:

java.lang.OutOfMemoryError: PermGen space

 

待解决中~~

 

------------------------------------

把项目导入Eclipse以后,编译,发现缺少几个jar包.

用ant编译报出OutOfMemoryError应该跟这有关!