I plan to use babeldoc in order to enrich our Batch processing basis.
Everything in babeldoc seems to be very helpfull;i tested a variety of integration processes using Babeldoc achieving good results.
Just one problem does not allow us to use it; We don't receive any System.exit(>0) code when an error ocurrs, a 0 exit code is received instead.
Basically, we can't know if a babeldoc process ends with error or not. I was looking the source code but I could not find where to modify in order to thorws errors and finally perform a System.exit sentence.
Do you plan to incorporate such valuable feature in Babeldoc ?
Thanks in advance, Esteban.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I plan to use babeldoc in order to enrich our Batch processing basis.
Everything in babeldoc seems to be very helpfull;i tested a variety of integration processes using Babeldoc achieving good results.
Just one problem does not allow us to use it; We don't receive any System.exit(>0) code when an error ocurrs, a 0 exit code is received instead.
Basically, we can't know if a babeldoc process ends with error or not. I was looking the source code but I could not find where to modify in order to thorws errors and finally perform a System.exit sentence.
Do you plan to incorporate such valuable feature in Babeldoc ?
Thanks in advance, Esteban.
I mean:
C:\jdk1.4\bin\java.exe -Xbootclasspath/p:C:\babeldoc\build\lib\xerces.jar;C:\babeldoc\build\lib\xalan.jar;C:\babeldoc\build\lib\xml-apis.jar "-Dbabeldoc.user=C:\Desarrollos\babeldoc\myproject;C:\babeldoc\build;." "-Dbabeldoc.home=C:\babeldoc\build" "-Dbabeldoc.cp=" -jar C:\babeldoc\build\lib\babeldoc_init.jar %1 %2 %3 %4 %5
echo %ERRORLEVEL%
( Allways shows 0 as ERRORLEVEL value )