Menu

Exit Return code nedeed

Help
2003-11-01
2003-11-01
  • Esteban Capoccetti

    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.

     
    • Esteban Capoccetti

      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 )

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.