THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- 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
- The ability to run Windows binaries (to build the Windows installer)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)
...
I found it simplest to keep this checkout with the modified build.properties.default
and just do an svn up
prior to each tag. I only used the checkout for tagging to ensure no other edits found their way into the tag.
Build the release
svn export https://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_XX TOMCAT_7_0_XX
- Add a build.properties file with the following configuration (adjust paths for your environment)
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
|
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 buildhad to download all the dependencies
Upload the release
TBDUpload the contents of TOMCAT_7_0_XX/output/release
to https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/
Generate the Maven artifacts
TBDSee https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk/res/maven/README.txt
Call a vote
TBDE.g. http://markmail.org/message/gvmbwocspnwb2dfe
If the vote passes=
...
No Format svn mv https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.XX https://dist.apache.org/repos/dist/release/tomcat/tomcat-7/v7.0.XX
- Wait for the mirrors to sync (upto 24 hours depending on what percentage of the mirrors you want to sync)
- Update the website (e.g. http://svn.apache.org/viewvc?view=revision&revision=1500109)
- Update the docs (see http://svn.apache.org/repos/asf/tomcat/site/trunk/README.txt)
- Announce the release (e.g. http://markmail.org/message/xyantb3ozzmucdjt) to users@t.a.o, cc dev@t.a.o, announce@t.a.o, announce@a.o