[xep-support] Exit codes for XEP/com.renderx.xep.Driver?
dvd at renderx.com
Tue Feb 18 05:45:50 PST 2003
> I once asked for exit codes in XEP (XSLDriver) and they got implemented, AFAICT. However, it seems that com.renderx.xep.Driver -- the other interface I use -- does not return its exit codes when called from the command line?
> Would it be possible to add a OK (0) and NOK (1) exit code to this interface as well? That'd be great. I currently use XEP 3.21 stamped, for the case that I missed something.
Driver returns 1 (not ok) only if it cannot run XEP. An error in just some of the files is not an error
condition; some files are formatted, others are not.
On the other hand, I would prefer the community to tread Driver.main() as a function for testing
and bugtracking purposes. If you need to format an .fo into .pdf, use
java com.renderx.xep.XSLDriver -fo test.fo -pdf test.pdf
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
More information about the Xep-support