Apache Ant is an open-source, Java-based build tool. You can create and run Ant build files from the workbench. The Ant build files can operate on resources in the file system as well as resources in the workspace.
These instructions are for using Ant build files to publish models from within the workbench. For more information about the Ant build tool, see the Apache Ant Web site and the workbench overview topics.
The Ant script element that handles model publishing is the custom element com.ibm.xtools.publish.CLModelPublish. A script can contain more than one of these elements if you need to publish multiple models.
To publish a model by using an Ant script:
You can also set the Ant script as a build file that runs automatically whenever a model is modified. For more information, work through the tutorial named "Automate publishing and reporting with Apache Ant."