#/bin/sh set -x cd $(dirname $0) echo '' > index.html echo 'Eclipse Jetty Downloads' >> index.html echo '' >> index.html echo '
Jetty logo
' >> index.html echo '

Jetty Downloads

' >> index.html echo '

Jetty Website: http://www.eclipse.org/jetty

' >> index.html echo '

Jetty Documentation Hub: http://www.eclipse.org/jetty/documentation

' >> index.html echo '

The latest release of all minor releases are below, earlier releases in a minor release version are available under the archived releases link below.

' >> index.html echo '' >> index.html echo '' >> index.html find * -maxdepth 1 -type d -name dist | sort -r | while read DIST do F=$(dirname $DIST) echo $DIST $F echo "" >> index.html echo "" >> index.html echo '' > $F/dist/index.html echo "

$F:

" >> $F/dist/index.html echo '' >> $F/dist/index.html echo "" >> $F/dist/index.html echo '' >> $F/dist/index.html done echo '
Downloads
$F:" >> index.html [ $(ls $F/dist/ | wc -l) -gt 1 ] && echo ".zip .tgz (all)" >> index.html [ -d $F/apidocs ] && echo "apidocs" >> index.html echo "" >> index.html [ -d $F/xref ] && echo "xref" >> index.html echo "" >> index.html if [ -d $F/repository ]; then echo "P2" >> index.html elif [ -d updates/jetty-bundles-9.x/$F ]; then echo "P2" >> index.html elif [ -d updates/jetty-bundles-9.1.x/$F ]; then echo "P2" >> index.html fi echo "" >> index.html [ -d $F/dist-eclipse ] && echo "EclipseRTJetty" >> index.html echo "" >> index.html case $F in stable-9* ) echo "Stable (Java 8+) $(expr stable-9/dist/*.tar.gz : '.*-\([0-9].*\).tar.gz')" >> index.html ;; *M[0-9] ) echo "Milestone $(date -r $F '+%Y-%m-%d')" >> index.html ;; *RC[0-9] ) echo "Release Candidate $(date -r $F '+%Y-%m-%d')" >> index.html ;; *9.[3-4]*v* ) echo "Release (Java 8+)" >> index.html ;; *9.2*v* ) echo "Release (Java 7+)" >> index.html ;; *8.1*v* ) echo "Release (EOL)" >> index.html ;; *7.6*v* ) echo "Release (EOL)" >> index.html ;; *v* ) echo "Release" >> index.html ;; esac echo "
' >> index.html echo '
' >> index.html echo '

Note: Releases are *.zip and *tar.gz files. There are also other files containing signatures and checksums under (all) that you can use to validate content.

' >> index.html echo '

You can find all archived Jetty releases (for Jetty 7+) here.



' >> index.html echo '

Jetty P2 Repositories

' >> index.html echo "

These are not for general use and are provided strictly for OSGI users.

" >> index.html echo "

Composite Jetty7 P2 repo - jetty-bundles-7.x

" >> index.html echo "

Composite Jetty8 P2 repo - http://download.eclipse.org/jetty/updates/jetty-bundles-8.x

" >> index.html echo "

Composite Jetty9 P2 repo - http://download.eclipse.org/jetty/updates/jetty-bundles-9.x

" >> index.html echo '

Jetty orbit dependencies

' >> index.html echo "" >> index.html echo '' >> index.html cd orbit echo '' > index.html echo '

Jetty-Orbit@eclipse downloads

' > index.html echo '' >> index.html echo "" >> index.html echo '' >> index.html cd /home/data/httpd/archive.eclipse.org/jetty echo '' > index.html echo '

Jetty Archived Releases

' >> index.html echo '' >> index.html find * -maxdepth 1 -type d -name dist | sort -r | while read DIST do F=$(dirname $DIST) echo $DIST $F echo "" >> index.html echo "" >> index.html echo '' > $F/dist/index.html echo "

$F:

" >> $F/dist/index.html echo '' >> $F/dist/index.html echo "" >> $F/dist/index.html echo '' >> $F/dist/index.html done echo '
$F:" >> index.html [ $(ls $F/dist/ | wc -l) -gt 1 ] && echo "download" >> index.html [ -d $F/apidocs ] && echo "apidocs" >> index.html echo "" >> index.html [ -d $F/xref ] && echo "xref" >> index.html echo "" >> index.html if [ -d $F/repository ]; then echo "P2" >> index.html elif [ -d updates/jetty-bundles-7.x/$F ]; then echo "P2" >> index.html elif [ -d updates/jetty-bundles-8.x/$F ]; then echo "P2" >> index.html elif [ -d updates/jetty-bundles-9.x/$F ]; then echo "P2" >> index.html fi echo "" >> index.html [ -d $F/dist-eclipse ] && echo "EclipseRTJetty" >> index.html echo "" >> index.html case $F in stable* ) echo "Stable $(expr stable-7/dist/*.tar.gz : '.*-\([0-9].*\).tar.gz')" >> index.html ;; *M[0-9] ) echo "Milestone $(date -r $F '+%Y-%m-%d')" >> index.html ;; *RC[0-9] ) echo "Release Candidate $(date -r $F '+%Y-%m-%d')" >> index.html ;; *v* ) echo "Release" >> index.html ;; esac echo "
' >> index.html echo "" >> index.html echo '' >> index.html