Re: [xep-support] Exit codes for XEP/com.renderx.xep.Driver?

From: David Tolpin (dvd@renderx.com)
Date: Tue Feb 18 2003 - 05:45:50 PST

  • Next message: Johann Richard: "RE: [xep-support] Exit codes for XEP/com.renderx.xep.Driver?"

    >
    > Hello,
    >
    > 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.

    Johann,

    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

    David
    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@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



    This archive was generated by hypermail 2.1.5 : Tue Feb 18 2003 - 05:39:07 PST