#/bin/sh set -x 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