Commit graph

9 commits

Author SHA1 Message Date
dchandler
5b5a6aab25 You may no longer put xml-apis.jar, xercesImpl.jar, or xalan.jar in
Jskad/extensions.  If you're lazy, you can move them to
extensions/drop-ins, but the correct thing to do is to move x*.jar to
$ANT_HOME/lib [next to vamp.jar, if you're already set up for Java Web
Start builds].  This is a side effect of improving the nightly builds.

Nightly builds now feature an HTML summary of the JUnit test results,
a datestamp, and full API docs in two flavors.

If you use a patched vamp.jar [e-mail me] that can run when an X11
display is not available (there is not an analogous problem for
Windows servers, I suspect), all you have to do to put up a nightly
builds site is to set up CVS access so that no password is requires
using SSH public-key crypto (sf.net documents how to do so well) and
then use the following daily cron job on your Unix box:

#! /bin/sh
renice +19 -p $$ >/dev/null 2>&1
su -l joe-user /bin/sh -c /var/www/thdl/nightly/doTheBuild.sh

where joe-user is an unprivileged user who has installed Ant properly
(see the updated BuildSystems.html on the developer's site off of
thdltools.sf.net) and set himself up a Jskad sandbox with a Fonts
sandbox underneath it in, e.g., /var/www/thdl/nightly/Jskad.  Here's
doTheBuild.sh:

#! /bin/sh
JSKAD=/var/www/thdl/nightly/Jskad
DEST=/var/www/thdl/nightly/builds
HISTORY=/var/www/thdl/nightly/history
DATE=`date`
if test ! -d $DEST; then \
     echo "$DEST does not exist ($DATE)." >> history; exit 1; fi
(cd $JSKAD && ant dc-nightly-build \
 && rm -fr ${DEST}/* \
 && cp dist/nightlyBuild.zip $DEST \
 && cd $DEST \
     && unzip nightlyBuild.zip)
if test $? != 0; then echo "NIGHTLY BUILDS FAILED on $DATE" >> $HISTORY; exit 2; fi
DDDATE=`date`
echo "Success on start=$DATE end=$DDDATE" >> $HISTORY
exit 0
2003-02-10 04:24:25 +00:00
dchandler
d1ce484a1f Fixed a broken link. 2003-01-27 05:44:56 +00:00
dchandler
6064903cf9 Documents how to install and use JUnit for automated unit tests.
Besides the fact that I like unit tests, my Unicode conversion work is
going to have to be thorougly tested.

Other small improvements to the text were made.
2003-01-12 20:49:23 +00:00
dchandler
58287c09a5 Documents checking out the Fonts module underneath the Jskad module to
allow for including the fonts inside JARs.
2002-11-18 20:26:23 +00:00
dchandler
42d9c7c072 Typo. 2002-10-28 05:12:43 +00:00
dchandler
ba7fd6370a We now have two sets of API docs, one with private members too. 2002-10-28 05:09:15 +00:00
dchandler
d4f8161d2b At Edward's request, the codebase for Java Web Start releases may now
be specified on the command line via
'ant -Djnlp.codebase="http://foo.bar/baz"'.

This means that dist/ no longer contains .jnlp files; they are created by Ant
instead.
2002-10-25 11:56:38 +00:00
dchandler
38e6504d0d At Edward's request, Vamp is no longer required to build our tools. It is still
required by anyone who wishes to cut a Java Web Start release.

This should make it easier for a new developer to get up to speed.
2002-10-25 11:06:04 +00:00
dchandler
1ef4b5cff8 Added documentation on our build systems -- how to compile, run, cut
releases, etc.
2002-10-20 22:40:18 +00:00