Hi experimenting with ditac + renderx to generate my pdf ( thru my
ditac-maven-plugin) and it seems when a ditac cannot create the pdf
for somereason, ditac exit code is none zero. and therefor my
automation build cant detect failure.

Do you see what I see?

here is the log

[DEBUG] cmd.exe /X /C
"C:\Users\dan.tran\dev\ll\mc\mc-docs-with-ditac\.external-resources\ditac-2_1_0\bin\ditac.bat
-xep "c:\Program Files\RenderX\XEP\xep.bat"
C:\Users\dan.tran\dev\ll\mc\mc-docs-with-ditac\target\ditac\pdf\admin-guide.pdf
C:\Users\dan.tran\dev\ll\mc\mc-docs-with-ditac\src\main\dita\admin-guide\admin-guide.ditamap"
ditac: ERROR: [error] Attribute 'space-before.minimum' cannot have a
value of "".
ditac: ERROR:
ditac: ERROR: Parse error: Invalid XSL FO source
'file:/C:/Users/dan.tran/dev/ll/mc/mc-docs-with-ditac/target/ditac/pdf/admin-guide.fo':
1 error found during validation
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ mc-docs ---

Since my maven plugin does not throws a commandline excption, it means
ditac.bat exit code is 0, instead of some other number


Thanks

-Dan
 
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to