Page 1 of 1

Trigger ANT Scenario from AuthorAccess object

Posted: Mon Sep 08, 2025 8:42 am
by Dinesh
Hi,

I am trying to trigger an ANT scenario that we have defined in Oxygen XML Editor from the doOperation Java code.

My question is: Given an AuthorAccess object, is it possible to trigger our defined scenario in Oxygen? For example, is there something like authorAccess.getScenario("buildTargetDB").run(), or are there any other solutions you would recommend?

Thanks,
Dinesh

Re: Trigger ANT Scenario from AuthorAccess object

Posted: Mon Sep 08, 2025 9:03 am
by Radu
Hi Dinesh,
The API is something like:

Code: Select all

authorAccess.getEditorAccess().runTransformationScenario
https://www.oxygenxml.com/InstData/Edit ... voker.html

The transformation scenario must be defined at framework level.

Regards,
Radu