Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Verify that there are no blocking issues on the lists or in JIRA.
  2. Update VERSION.txt with the release number and date and commit to trunk. Copy this to trunk VERSION.txt
  3. Create tags in jetty and jetty-contrib repositories with a copy from trunk (or the branch used as a basis for the release):
    No Format
    svn cp -m 'release x.y.z' https://svn.codehaus.org/jetty/jetty/branches/jetty-6.1 https://svn.codehaus.org/jetty/jetty/tags/jetty-x.y.z
    svn cp -m 'release x.y.z' https://svn.codehaus.org/jetty-contrib/jetty/branches/jetty-6.1 https://svn.codehaus.org/jetty-contrib/jetty/tags/jetty-contrib-x.y.z
    
  4. Checkout tag:
    No Format
    svn co https://svn.codehaus.org/jetty/jetty/tags/jetty-x.y.z
    
  5. Edit svn:externals to include contrib tag:
    No Format
    cd jetty-x.y.z
    svn propedit svn:externals .  # change branches to jetty/tags/jetty-contrib-x.y.z
    rm -fr contrib
    svn up
    
  6. Update the poms and other files to change 6.1-SNAPSHOT to x.y.z:
    No Format
    find -name '*.xml' -o -name '*.TXT' -o -name '*.txt' | while read file ; do sed --in-place -e 's/6.1 SNAPSHOT/x.y.z/g' $file ; done
    
    The diff in the script will sometimes need to be updated. Recursive
    greps should be done to make sure that all 6.1-SNAPSHOT references have been updated.
  7. Commit the changes to the tag:
    No Format
    svn commit -m 'release x.y.z'
    svn commit -m 'release x.y.z' contrib
    
  8. build the release with javadoc + jxr for bundle
    No Format
    mvn install
    
    # find all instanced of plugin-plugin in pom.xml and comment them out.
    cd distribution/jetty-assembly
    mvn install (this builds out the javadocs and jxr directories in root distribution)
    cd ../..
    # revert the plugin-plugin pom.xml files. Complain on lists that we should fix this.
    
    #build the release bundles:
    No Format
    bin/build_release_bundles.sh .
    
    This builds a binary and source zip bundle in the parent directory.
    #build additional bundles and jars:
    NOTE: you will need the rpmbuild utility installed in order to build the rpm module. this is also a somewhat optional step and can be completed after the release if need be
    NOTE: you will need special utilities installed in order to build the debian module (see the README in contrib/debian for details).
    No Format
    # Gregw thinks that these steps should now be deploy steps 
    # to the staging area after we deploy the main stuff below
    cd contrib/j2se6 (NOTE: you need to do this with jdk1.6!)
    mvn install
    
    cd contrib/maven-beanshell-plugin
    mvn install
    
    cd contrib/rpm
    mvn install
    
    cd ../jetty-ant
    mvn install
    
    cd ../../extra/jboss 
    mvn -Djboss.home=<your jboss install dir> install
    cd ../..
    

...

Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery