Page 1 of 1

See command that Oxygen transformation is running

Posted: Tue May 12, 2015 2:50 am
by criely
After configuring a transformation in Oxygen, is it possible to see what it is actually running at the command line level? This would help in some debugging for us.

Thanks,
Cathy

Re: See command that Oxygen transformation is running

Posted: Tue May 12, 2015 10:16 am
by adrian
Hello,

It depends on the type of transformation.

For XSLT transformations with the builtin XSLT engines (Saxon, Xalan), it's not possible because they aren't actually run in the command line, they are invoked by Java API.

For ANT or DITA-OT transformations (also ANT-based), edit the scenario and in the Output tab select in the section Show console output: Always. In v17 this option for DITA-OT transformations has become global and is now located in Options > Preferences, DITA.
Alternatively, during or after the ANT/DITA transformation you can click the "Show console output" widget located in the status bar (bottom) of the main window, on the right side of the segment where the message "Transformation in progress/finished" appears.
Look at the top of the console output log to see the command line that was run.

Regards,
Adrian

Re: See command that Oxygen transformation is running

Posted: Tue May 12, 2015 4:46 pm
by criely
Thanks, I was talking about XSLTs. So I assume there is not a logging parameter that I could add that would have the java API write out a log file that would include this information?

Re: See command that Oxygen transformation is running

Posted: Tue May 12, 2015 5:34 pm
by adrian
Hi,

I could give you the equivalent command line for the XSLT engine. It won't be a perfect match with what Oxygen does in the Java API, but it's a start. Note that for Saxon-PE/EE you need a separate license from Saxonica, if you run it outside of Oxygen (in the command line).

What XSLT engine are you using?

Regards,
Adrian