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 generate reports for models from within the workbench. For more information about the Ant build tool, see the Apache Ant website and the workbench overview topics.
The Ant script element that handles report generation is the custom element com.ibm.ccl.erf.rsa.report.ic.ant.UMLBirtReportPublish. A script can contain more than one of these elements if you need it to generate multiple reports.
To generate a report by using an Ant script:
To use Ant scripts to generate reports using an XSLT template, select PublishReport instead of PublishBIRTUMLReport from the completion list, and specify the values for the com.ibm.xtools.publish.CLLegacyXSLTReportPublish task. For syntax information, see the topic "Ant syntax for UML report generation with XSLT templates."