Files
spring-framework/build-spring-framework
Chris Beams 2ca6d0b2be Centralize license, notice, etc in src/dist
Prior to this change, license.txt and notice.txt files were duplicated
across every subproject in their respective src/main/resources/META-INF
directories.

This commit centralizes these files under the root project at src/dist,
along with the changelog and readme files. The definition of the 'jar'
task has been been extended to include the license and notice files in
module jars as they are created.

The directory is named src/dist because these files are all related to
distribution - the readme is different than the one you see at the root
of the source tree - the intended audience is for users who download
the spring-framework distribution zip. A task to create that
distribution zip will be added in subsequent commits.
2012-01-31 14:32:15 +01:00
..
2011-01-05 22:22:58 +00: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'"

USERS
- To build all Spring Framework projects, including samples:

    1. From this directory, run:
       ant

- 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


DEVELOPERS
- To build a new Spring Framework distribution for release:

  1. Update the files containing the version number to reflect the new release
     version, if necessary.

         build.properties
         build-spring-framework/resources/readme.txt
         spring-framework/src/spring-framework-reference.xml

  2. From this directory, run:

         ant jar package

     The release archive will be created and placed in:
         target/artifacts