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, Wolgast Olof wrote:

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. Hence gnu make continues and the error isn't detected until the log file or the produced pdf is manually inspected. Is there any setting which makes fop abort with a non-zero exit code? If not, should I submit a feature request?

// Olof


Reply via email to