You must indicate publishing options. You can select the
information to be displayed on the instances, the output format, layout,
and location of the published result.
- Published content
- By default, the option Publish a structure of multiple
files is not selected. It means that only the selected
instances constitute entries in the published result. If you select
this option, the instances that are recursively called in the selected
instances are published.
You can filter the information to be displayed
in the published result by clicking Advanced.
A two-page wizard displays the entities and their descriptions in
the MAF (Model Access Facilities) model. By default, all the entities
and all their descriptions are selected. You can clear some of them
to exclude them from the published result.
- Publishing format
- The following publishing formats are available:
- XML: This format includes a table of contents,
followed by the published instances. The names of the descriptions
and fields are extracted from the MAF (Model Access Facilities) model.
- HTML: This format makes it easier to read
the published result. The names of the descriptions and fields are
identical to the names that are displayed in the Rational Programming
Patterns interface. Two output layouts are available:
- CSV: This format publishes the result in
a table. You can then sort or resize the columns.
- Output file
- The option Publish a structure of multiple files is
available for an XML orHTML output
format with a detail layout. By default, it is not selected.
By
default, all the instances are then published in the same file. This
choice is adapted to a printed output. You can open the file with
a text processing and print it, for example.
If you select
this option, one file for each instance is created in the indicated
output folder. You cannot indicate a file name but only a folder name.
The file names are automatically created from the instance names.
This option is adapted to publish on the internet. An index.html file
is automatically created. A subdirectory is also created for each
project that contains published instances. You can then create a URL
with the index.html as the entry point. Users
will then easily access the published result.
- You can specify where the published result is to be output:
- You can publish in your local workspace. Select Enter
or select the parent folder. Enter or select the output
folder that will contain the published result. If you do not publish
a structure of multiple files, you must also indicate a file name
in the File name field. Its extension corresponds
to the selected publishing format. You will be able to see the content
of the published files by right-clicking the files and selecting the
appropriate editor in the Project Explorer view.
- You can also publish outside the locale workspace. Select Select
file to publish to and enter or select the folder. You
must also specify the publishing file if you do not publish a structure
of multiple files.