cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: Cocoon 2.1.2 - How to tell if Offline site generation fails
Date Tue, 30 Mar 2004 22:47:06 GMT
On 30.03.2004 15:24, L.Austin wrote:

> We are currently using Cocoon 2.1.2 to generate a site which is in turn
> is copied to
> our live server.
> 
> Current Configuration:
> Server jakarta-tomcat-5.0.12 with Cocoon 2.1.2
> Linux Server
> 
> 
> Everyday a script is fired off calling our cocoon build. Then when the
> build has
> finished the files are copied to our Live server. At present we are
> manually copying
> these files... but we will be implementing a script to do this
> automatically.
> 
> What we need to do is somehow set a flag if the Cocoon build has failed
> and did not
> follow all links from the initial page. Which in turn would stop files
> being automatically
> copied to the Live server.
> 
> Is there a way Cocoon can do this?

There is a Cocoon Ant task somewhere. I don't know if these errors 
bubble up to Ant (a message not long ago seems to indicate that this is 
not done, but if), there is probably also the possibility to let the 
build fail at that point. Copying the result is not done then.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message