forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@indexgeo.com.au>
Subject RE: [HEADS UP] Forrest is running :-)
Date Wed, 29 May 2002 02:13:37 GMT
Nicola Ken Barozzi
<snip/>
> Currently, the site gets updated every hour and the result
> is
> published at:
> http://www.krysalis.org/forrest/
> On the bottom of the pages there is a "Last Published" that
> tells you when
> the site was regenerated.
> 
> The script that is run by cron is:
> #!/bin/sh
> export DISPLAY=:1
> export JAVA_HOME=/usr/java/jdk1.3.1_02
> cd /home/forrestbot/xml-forrest
> cvs update -d
> ./build.sh docs
> ./build.sh deploysite
>
> As you see, all is done by Ant.

I wonder what happens when "build docs" fails?
Does deploysite still proceed. I am no Ant expert,
but i see that 'deploysite' only depends on 'init'
and the cronjob shell script does no error checking.
Is it sufficient to make deploysite depend on 'docs'?
--David



Mime
View raw message