From 69b07cda6527258118ecb4216a6e6216ee7120d4 Mon Sep 17 00:00:00 2001 From: dchandler Date: Mon, 3 Feb 2003 06:24:52 +0000 Subject: [PATCH] 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 --- .cvsignore | 7 ++-- build.xml | 60 +++++++++++++++++++++----- dist/.cvsignore | 3 +- dist/NightlyBuilds.html | 93 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 149 insertions(+), 14 deletions(-) create mode 100644 dist/NightlyBuilds.html diff --git a/.cvsignore b/.cvsignore index 96f1235..b42632e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,6 +1,7 @@ +*~ +NightlyBuildStore +TEST* bin jskad.log -savant.log qd.log -TEST* -*~ +savant.log diff --git a/build.xml b/build.xml index 278bf9a..8574e99 100644 --- a/build.xml +++ b/build.xml @@ -216,7 +216,7 @@ @@ -944,6 +944,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -954,12 +984,6 @@ - - - - - @@ -992,7 +1016,7 @@ THDL Tools]]> - These API docs were created ${javadoc.creation.time}.Copyright © 2001-2002 Tibetan and Himalayan Digital Library. All Rights Reserved.
Hosted by SourceForge_Logo]]>
+ These API docs were created ${javadoc.creation.time}.Copyright © 2001-2003 Tibetan and Himalayan Digital Library. All Rights Reserved.
Hosted by SourceForge_Logo]]>
@@ -1376,9 +1400,25 @@ public class ThdlVersion { + + + - + + + + + + + + @@ -1389,7 +1429,7 @@ public class ThdlVersion { description="Unpacks the JARs/WARs/ZIP files that Savant and QuillDriver use to the chosen bin/ directory"> - diff --git a/dist/.cvsignore b/dist/.cvsignore index 567cbf7..5d861da 100644 --- a/dist/.cvsignore +++ b/dist/.cvsignore @@ -1,6 +1,7 @@ docs java-web-start -lib-vanilla lib-jws +lib-vanilla +nightlyBuild.zip releases source diff --git a/dist/NightlyBuilds.html b/dist/NightlyBuilds.html new file mode 100644 index 0000000..216b83b --- /dev/null +++ b/dist/NightlyBuilds.html @@ -0,0 +1,93 @@ + + + + THDL Tools Nightly Builds + + + +

THDL Tools Nightly Builds

+ +

+ Here you'll find last night's latest and greatest builds of the THDL tools. +

+ + + + + +
+
David Chandler
+ + +Last modified: Mon Feb 3 00:45:24 EST 2003 + + +