DITA and XMetaL Discussion

  • fernandoh01

    Automation Script

    Participants 3
    Replies 4
    Last Activity 9 years, 2 months ago

    Dear friends,

    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 – 7.0.0.111

    Best Regards,

    Reply

    fernandoh01

    Reply to: Automation Script

    Hi,

      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
    java.lang.RuntimeException”
    Did someone have this error?
    Best Regards,

    Reply

    fernandoh01

    Reply to: Automation Script

    Hi

      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

    Details:

    • XMetaL(R) Author Enterprise 7.0
    • Version# 7.0.0.111
    • Windows 7 Enterprise N

    Reply

    Sushimo6

    Reply to: Automation Script

    good

    Reply

    Derek Read

    Reply to: Automation Script

    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:

    %userprofile%Local SettingsTempXMetaLrenditionslog

    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

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support