Edit online

Ant Transformation

This type of transformation allows you to configure the options and parameters of an Ant build script.

An Ant transformation scenario is usually associated with an Ant build script. Oxygen XML runs an Ant transformation scenario as an external process that executes the Ant build script with the built-in Ant distribution (Apache Ant version ) that is included with the application, or optionally with a custom Ant distribution configured in the scenario.
Note:
To create an Ant transformation scenario, use one of the following methods:
  • Use the Configure Transformation Scenario(s) () action from the toolbar or the Document > TransformationXML menu. Then click the New button and select ANT transformation.
  • Go to Window > Show View and select Transformation Scenarios to display this view. Click the New Scenario drop-down menu button and select ANT transformation.

Both methods open the transformation configuration dialog box.

The upper part of the dialog box allows you to specify the Name of the transformation scenario.

The lower part of the dialog box contains several tabs that allow you to configure the options that control the transformation.

Since Ant transformation scenarios are run as separate processes, to instruct Oxygen XML to open certain resources created by the separate process, you can use <echo> elements in your build files with the following syntax:
<echo>Finished publishing: "absolute/path/to/file.ext"</echo>