You generate BIRT-based
UML
and EMF model reports by creating and running report launch configurations
that specify a BIRT report design.
Procedure
To create and run a report launch configuration based
on a BIRT report design:
- In the Modeling perspective, click .
- In the Report window,
right-click the type of report to launch; then click New.
- In the Name field,
type a name for the new launch configuration.
- Specify the report to use:
- To use a report that is provided with your IBM® product,
select Built-In and click Browse to
specify the name of the report.
- To use a report from another source, select Location and
click Workspace or File System to
specify the location and report file name.
When you select a report, the Data Sources field
lists the data sources that are specified in the report. When you
click a data source in the Data Sources field,
the Instance Models field lists the associated
instance models.
- To add a data source or instance model to
include in the report, click in the Data Sources field
or Instance Models field and click Add.
To remove a data source or instance model, select it and click Remove.
- Define how to handle the report output:
- Specify a location for the report output.
- Select the report format. The available values are Microsoft
Word (DOC), WWW hypertext (HTML), Adobe
Reader (PDF),Postscript (PS), Microsoft
PowerPoint (PPT), and Microsoft Excel (XLS).
The Microsoft Word format is compatible with Microsoft Word 2003 and later.
- Select whether to overwrite existing files in the report location
without a warning.
- To set
values for the parameters that the report includes, click the Parameters tab
and click Set Values. When you open
this window for the first time, it displays the default values for
the parameters in the report.
- To generate
a report with a report design that depends on a corresponding transformation,
click the Transform tab and select the transformation. Note that the page displays only registered transformations.
For an example of a report that uses a transformation, see the tutorial
"Generate a report for a UML model."
- To specify how to save, display, and launch
the report configuration, click the Common tab. Note that you can save the report configuration as a shared
file with launch as the file name extension.
- To generate the report, click Report.
Results
When the publishing process is complete, the report
is displayed automatically if the appropriate program is available
on your computer.
You can access the report directly from the location
that you specified for the report output.