DITA and XMetaL Discussion
fernandoh01 July 1, 2013 at 12:44 pm
Automation ScriptJuly 1, 2013 at 12:44 pmParticipants 3Replies 4Last Activity 9 years, 2 months ago
Is there some way to make automation script to export (e.g. BAT)?
For each release I have to generate manually all outputs.
I'm using XMetaL(R) Author Enterprise 7.0 – 184.108.40.206
Best Regards,fernandoh01 July 2, 2013 at 12:12 pm
Reply to: Automation ScriptJuly 2, 2013 at 12:12 pm
I found out at documentation (DITA Open Toolkit User Guide) the procedure to generate the outputs from command Line, but I tried to run and I got an execution error:
“The specified logger class org.dita.dost.log.DITAOTBuildLogger could not be used because Class not found: org.dita.dost.log.DITAOTBuildLogger
Did someone have this error?
Best Regards,fernandoh01 July 2, 2013 at 2:11 pm
Reply to: Automation ScriptJuly 2, 2013 at 2:11 pm
I made some progress but I found a new issue. Let's me explain in details what I made:
1) I ran 'C:Program Files (x86)Common FilesXMetaL SharedDITA_OTstartcmd.bat'
2) to test the environment I ran java -jar lib/dost.jar /i:samples/sequence.ditamap /outdir:out /transtype:xhtml
3) I get the issue: “C:Program Files (x86)Common FilesXMetaL SharedDITA_OTbuild_preprocess.xml:500: java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI”
This issue is independent of output selection
Sushimo6 September 4, 2013 at 9:53 am
- XMetaL(R) Author Enterprise 7.0
- Version# 220.127.116.11
- Windows 7 Enterprise N
Reply to: Automation ScriptSeptember 4, 2013 at 9:53 am
goodDerek Read September 16, 2013 at 8:36 pm
Reply to: Automation ScriptSeptember 16, 2013 at 8:36 pm
After you have generated output using a particular deliverable from within XMetaL Author Enterprise everything needed to generate that same output again (not including your DITA topics and maps) will be in the following folder:
Running the file in that folder called dita_call.bat will generate output using the same settings as the last time you did so from within XMetaL Author Enterprise. There is no need to have XMetaL Author Enterprise running to do so. XMetaL Author Enterprise essentially sets all of this up, then runs the DITA OT at the command line using that .bat file (which in turn uses the other files in that folder). Anyone familiar with DOS .bat files and the DITA OT should be able to adapt those files for their own DITA OT automation tasks.
Each deliverable type sets things up a different way (seems obvious but might not be) so you will need to generate output for each deliverable you wish to automate via the standard UI from within XMetaL Author Enterprise in order to see the .bat files it generates.
There is a legal limitation when RenderX XEP is used for generating PDF output (or any other type of output that you might use XEP to produce, including PostScript). The license granted to you by RenderX (via JustSystems) for using XEP says that you may only use XEP in the context of XMetaL Author Enterprise. This means that if you wish to automate the generation of output for a deliverable using RenderX XEP then you must leave XMetaL Author Enterprise running (otherwise a separate license should be obtained from RenderX). The deliverables affected by this legality include (names taken from the “Configure Output” dialog):
Book via RenderX
Book via Structured FrameMaker
XMetaL Enhanced PDF via RenderX XEP
XMetaL Enhanced PDF via RenderX XEP and Acrobat Distiller
- You must be logged in to reply to this topic.