Per aggiungere l'elemento:
A questo punto lo script Ant dovrebbe contenere i seguenti elementi. Tenere presente che alcuni tra i propri valori di attributi potrebbero essere diversi.
<project default="MyTarget">
<target name="MyTarget">
<com.ibm.xtools.publish.CLModelPublish
modelPath="C:\workspace\SimpleUMLModel\models\SimpleUMLModel.emx"
outputFolder="C:\temp\antpub"
outputFilename="index.html"
overwriteExisting="true"
preview="false"
showIcons="true"
genDate = "false"
diagramImageFormat="gif"
detailLevel="full"
errorHandling="ignore"/>
<com.ibm.ccl.erf.rsa.report.ic.ant.UMLBirtReportPublish
modelPath="C:\workspace\SimpleUMLModel\models\SimpleUMLModel.emx"
targetOutputFolder="C:\temp\antrpt"
targetOutputFile="MetricReport.html"
reportDesignFile="file:/C:/Program Files/IBM/SDPShared/plugins/com.ibm.ccl.erf.rsa.report.data/designs/umlModelMetrics.rptdesign"
overwriteExisting="true"
autoShowPublishedOutput="false"
errorHandling="ignore"
outputType="html"
transform=""/>
</target></project>