Re: Is is possible to have fop abort with non-zero exit code when an image isn't found

2013-10-10 Thread Luis Bernardo
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

Re: Is is possible to have fop abort with non-zero exit code when an image isn't found

2013-10-10 Thread Bonekrusher
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: