Pages: 1
Print
Author Topic: Automation Script  (Read 2152 times)
fernandoh01
Member

Posts: 8


« on: July 01, 2013, 06:44:36 AM »

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,
Logged
fernandoh01
Member

Posts: 8


« Reply #1 on: July 02, 2013, 06:12:52 AM »

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,
Logged
fernandoh01
Member

Posts: 8


« Reply #2 on: July 02, 2013, 08:11:06 AM »

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 Files\XMetaL Shared\DITA_OT\startcmd.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 Files\XMetaL Shared\DITA_OT\build_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

Logged
Sushimo6
Member

Posts: 2


WWW
« Reply #3 on: September 04, 2013, 03:53:16 AM »

good
Logged

[
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 2579



WWW
« Reply #4 on: September 16, 2013, 02:36:18 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:

%userprofile%\Local Settings\Temp\XMetaL\renditions\log

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
« Last Edit: September 16, 2013, 02:47:14 PM by Derek Read » Logged
Pages: 1
Print
Jump to: