3 J8HOME=/path/to/java8/jdk
4 J11HOME=/path/to/java11/jdk
5 OLDBUILDDIR=/path/to/old/build/root
6 JALVIEWDIR=/path/to/recent/jalview
7 LOCALARCHIVEDIR=/path/to/where/to/store/archive/locally
8 WEBSITEDOCROOTMOUNT=/path/to/mounted/website/docroot
14 wget http://www.jalview.org/source/jalview_2_08b.tar.gz http://www.jalview.org/source/jalview_2_2_1.tar.gz http://www.jalview.org/source/jalview_2_3_buildfix.tar.gz http://www.jalview.org/source/jalview_2_4_0b2.tar.gz http://www.jalview.org/source/jalview_2_5_1.tar.gz http://www.jalview.org/source/jalview_2_6_1.tar.gz http://www.jalview.org/source/jalview_2_7.tar.gz http://www.jalview.org/source/jalview_2_8_2b1.tar.gz http://www.jalview.org/source/jalview_2_9_0b1.tar.gz http://www.jalview.org/source/jalview_2_10_5.tar.gz
17 export JAVA_HOME=J8HOME
18 export PATH=$JAVA_HOME/bin:$PATH
20 for x in tar/jalview_*.tar.gz
25 tar --one-top-level -xvf $x
27 ant makedist -DJALVIEW_VERSION="$V"
31 export JAVA_HOME=J11HOME
32 export PATH=$JAVA_HOME/bin:$PATH
35 for x in $OLDBUILDDIR/jalview_*/jalview
40 [ -e getdown/website ] && /bin/rm -r getdown/website
41 [ -e getdown/files ] && /bin/rm -r getdown/website
42 gradle getdown -PCHANNEL=ARCHIVE -PJALVIEW_VERSION="$V" -PJAVA_VERSION=1.8 -PARCHIVEDIR=$x -Pgetdown_rsync_dest=$LOCALARCHIVEDIR -PRUNRSYNC=true
47 rsync -avh --delete $LOCALARCHIVEDIR/archive/ $WEBSITEDOCROOTMOUNT/getdown/archive/