Lesson 6: Test the Ant script
Test that the script publishes the model and generates
a report as you intend.
Procedure
To run the Ant script:
- In the Project Explorer view, right-click publish.xml; then click Be sure to click Ant Build... and not Ant Build.
- On the JRE page, under Runtime JRE, click Run in the same JRE as workspace.
- Click Apply.
- Click Run to run the Ant script. The model is published and the HTML report for SimpleUMLModel is generated.
- You can navigate to the output in Windows Explorer and open the generated files: C:\temp\antpub\index.html and C:\temp\antrpt\MetricReport.html.