[c2] How to stop on generation errors ?

2001-11-27 Thread Vincent Massol
Hi, Probably a newbie question. I'm using cocoon2 to generate documentation for my project. I run the generation as part of my Ant build. At the moment, if there is an error in any xml file, the build does not stop. Errors are reported in a log file and in the generated page. I'd like to know

Re: [c2] How to stop on generation errors ?

2001-11-27 Thread David Rosenstrauch
I'd suggest using Xalan directly for this instead of Cocoon then. Ant has a style action, which is used to call an XSLT transformer (usually Xalan). The style action works properly with Ant and does what you want (i.e., terminating the build if an error occurs). I use this in my project to