Two new properties have been added to the metadata section
of the document specification in the Rational® Publishing Engine launcher: pre-command and post-command. The properties
contain the code for the commands to be executed before and after
the document publishing process.
About this task
The new properties are in the metadata section of the document
specification and not in the document template properties. The pre-command
helps to prepare the data before the publishing the document specification.
For example, the pre-command and post-command helps in copying the
output files, archiving the output files, renaming the output files
based on variables, mailing the results or invoking third party applications.
Procedure
- In the Document Specification, click Metadata. The Properties tab displays.
- Click pre-command or post command.
- Enter the values. An example of a batch command, C copy ${Word} d:\test\output.doc.
- Click OK.