FYI, Testing it with 0.8.5 I had once gotten a status of 130. And I'm now getting a status of 1 for all errors.
These new error codes will come in handy. Thanks! Could you also add in a generic 'java' error status code, for 'out of memory' for instance. I've since fixed the offending channel... the final doc was 4.5 megs! But it could be helpful. --Wes ----- Original Message ----- From: "Laurens M. Fridael" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 06, 2003 3:42 AM Subject: Re: JPluckc Command line options and Cron Script > Wesley Mason wrote: > > I'd like to know what the status codes are that jpluckc gives to make > > the script more intellegent on error. > > Version of JPluck C prior to 0.9 pre2 (which was just released) only > return -1 if there was an error, so there's no real way of determining which > exact error occurred based on the exit code. > > However, the next 0.9 prerelease will return dedicated error codes. I've > copied them from the source: > > public static final int OK = 0; > public static final int ERROR_UNRECOGNIZED_OPTION = 1; > public static final int ERROR_JXL_NOT_SPECIFIED = 2; > public static final int ERROR_JXL_NOT_FOUND = 3; > public static final int ERROR_SETTINGS_NOT_SPECIFIED = 4; > public static final int ERROR_SETTINGS_NOT_FOUND = 5; > > Be sure to check the readme.txt when 0.9 pre3 is released to see if there > were any changes/additions to these codes. > > Also, in JPluck 0.9 the term "Device" has been replaced by "Conversion > Settings" and the command-line switches have changed accordingly. Instead > of -device you must specify -settings. > > > Regards > -Laurens > > _______________________________________________ > plucker-list mailing list > [EMAIL PROTECTED] > http://lists.rubberchicken.org/mailman/listinfo/plucker-list > _______________________________________________ plucker-list mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-list

