1v=6.5.2
2ev=5.13.0.3
3DEST=testng
4TARGET=target
5
6set -x
7
8if [ -z "${U}" ]
9then
10  echo Variable "$U" is not set
11  exit -1
12fi
13
14RSYNC="rsync --verbose --progress --stats"
15
16${RSYNC} ${TARGET}/testng-${v}.zip ${U}@beust.com:${DEST}
17${RSYNC} -r src/main/resources/testng-1.0.dtd testng-1.0.dtd.html ${U}@beust.com:${DEST}/doc
18
19#${RSYNC} testng-${v}.jar testng-${v}-bundle.jar testng-${v}.zip testng-eclipse-${ev}.zip ${U}@beust.com:${DEST}
20#scp -r javadocs doc/*.html doc/*.css src/main/resources/testng-1.0.dtd testng-1.0.dtd.html ${U}@beust.com:${DEST}
21#scp dtd/* ${U}@beust.com:w/dtd
22#(cd ~/java/beust.com; scp -r . ${U}@beust.com:w/eclipse)
23
24
25# scp testng-eclipse-${ev}.zip doc/download.html ${U}@beust.com:${DEST}
26
27