dchandler
69b07cda65
Added some utility targets pour moi.
...
Better error checking.
There's now a nightly builds HTML page, for use with a script like the
following:
#! /bin/sh
JSKAD=/www/nightly/Jskad
DEST=/www/nightly/builds
HISTORY=/www/nightly/history
DATE=`date`
if test ! -d $DEST; then \
echo "$DEST does not exist ($DATE)." >> history; exit 1; fi
(rm -fr ${DEST}/* && cd $JSKAD && cvs -f -z3 update -dP && ant dc-nightly-build \
&& cp dist/nightlyBuild.zip $DEST && cd $DEST && unzip nightlyBuild.zip \
&& rm nightlyBuild.zip && \
(cd docs \
&& mv private-javadocs-*.zip private-javadocs-today.zip \
&& mv public-javadocs-*.zip public-javadocs-today.zip \
&& mkdir public && mkdir private && \
(cd public \
&& unzip ../public-javadocs-today.zip) && \
(cd private \
&& unzip ../private-javadocs-today.zip)) \
&& \
(cd source \
&& mv THDL-Tools-src-*.zip THDL-Tools-src-today.zip))
if test $? != 0; then echo "NIGHTLY BUILD FAILED on $DATE" >> $HISTORY; exit 2; fi
(cd $JSKAD && ant check)
DDATE=`date`
if test $? != 0; then echo "'ant check' FAILED on $DATE" >> $HISTORY; exit 3; fi
DDDATE=`date`
echo "Success on start=$DATE build=$DDATE check=$DDDATE" >> $HISTORY
exit 0
2003-02-03 06:24:52 +00:00