Hello again,
I'm trying to script ditac.bat (my script creates a ditaval file on the
fly), but when ditac.bat fails, I still get an %ERRORLEVEL% value of 0.
I went into the ditac.bat file itself and had it 'echo %ERRORLEVEL%' just
after the java command and it prints 0.
The failure I'm trying to catch in this case is the failure to write the
output .docx file because it is already open in Word.
ditac says that this is an ERROR, prints a Java stack dump, but still
reports an %ERRORLEVEL% of 0.
Thanks,
-Doug
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support