Another approach if you are using xslt. is to use an extension to check if a
file exists and if it does not exist terminate with xsl:message
terminate="yes"
--
View this message in context:
http://apache-fop.1065347.n5.nabble.com/Is-is-possible-to-have-fop-abort-with-non-zero-exit-code-when-a
I don't think so.
If you don't mind compiling the code, you can easily abort FOP if an
image is missing by changing the @event.severity from ERROR to FATAL in
org.apache.fop.ResourceEventProducer and building (ant clean package).
But feel free to submit a feature request.
On 10/9/13 9:31 AM
Hi
I turn to the mailing list because I haven't been able to find the answer
somewhere else. I would like to run fop from gnu make and have fop abort and
return a non-zero exit code if an image isn't found. Now a warning message
("Image not found. URI; ..." is printed and the pdf is created. He