...
- A subversion client installed and on your path
- Apache Ant installed and on your path (see BUILDING.txt in the root of the svn repo for version requirements)
- The latest release of the minimum Java version that the Tomcat version runs on installed and on your path
- Windows OS (you can do it on Linux but it involves a lot more hassle)
- GnuPG installed
- A public key that is part of the Apache web of trust
- A reasonable internet connection (you will need to upload ~100MB)
Preliminary checks
- Check that the version numbers have been incremented after the previous release, as expected. (e.g. http://svn.apache.org/viewvc?view=revision&revision=1500094)
- Check that the changelog file mentions your login name as release manager for this release (e.g. "Tomcat 7.0.42 (markt)").
- Check whether the
KEYS
file differs fromhttps://dist.apache.org/repos/dist/release/tomcat/tomcat-7/KEYS
one. The latter one will be replaced after you do a release. Check that theKEYS
file contains your public key.
Create the tag
The aim is to create a copy of the current trunk but without the "-dev" appended to the end of the version number.
...
No Format |
---|
execute.validate=true
execute.test.bio=true
execute.test.nio=true
execute.test.apr=true
test.haltonfailure=true
gpg.exec=C:/Program Files (x86)/GNU/GnuPG/gpg2.exe
base.path=C:/temp/libs
# Tomcat 7 currently requires both JDK 6 and JDK 7 to build a release
# JAVA_HOME system property used by Ant has to point to JDK 6 and this points to JDK 7
java.7.home=C:/Program Files (x86)/Java/jdk1.7.0_45
|
ant release
Notes:
- GPG should be configured to use your Apache code signing key by default
- I always ensured
c:/temp/libs
was empty so that the build had to download all the dependencies
...