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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to