spring-framework/build-spring-framework/readme.txt

43 lines
1.3 KiB
Plaintext
Raw Normal View History

2011-01-06 06:22:58 +08:00
This is where the master build that creates releases of Spring Framework resides.
The build system is based on spring-build, which is linked in using an SVN
external to https://src.springframework.org/svn/spring-build.
Build Pre-requisites:
- javac 1.6 or > must be in your system path
- ant 1.7 or > must be in your system path
- set ANT_OPTS as follows (to avoid out of memory errors):
ANT_OPTS="-XX:MaxPermSize=1024m -Xmx1024m -Dtest.vm.args='-XX:MaxPermSize=512m -Xmx1024m'"
2008-07-11 14:34:50 +08:00
USERS
2008-10-31 00:31:54 +08:00
- To build all Spring Framework projects, including samples:
2008-07-11 14:34:50 +08:00
1. From this directory, run:
ant
2011-01-06 06:22:58 +08:00
- To install the built artifacts into your local Maven cache:
1. From this directory, run:
ant install-maven
- For a complete tutorial, see:
http://blog.springsource.com/2009/03/03/building-spring-3
2008-07-11 14:34:50 +08:00
DEVELOPERS
- To build a new Spring Framework distribution for release:
2011-01-06 06:22:58 +08:00
1. Update the files containing the version number to reflect the new release
version, if necessary.
2008-07-11 14:34:50 +08:00
build.properties
build-spring-framework/resources/readme.txt
spring-framework/src/spring-framework-reference.xml
2. From this directory, run:
2011-01-06 06:22:58 +08:00
2008-07-11 14:34:50 +08:00
ant jar package
2011-01-06 06:22:58 +08:00
2008-07-11 14:34:50 +08:00
The release archive will be created and placed in:
2011-01-06 06:22:58 +08:00
target/artifacts