java –jar SampleDocgen.jar <docspecpath> [-home file_path] [-workArea file_path] [-remoteURL URL] [-remoteUser user] [-remotePassword password] [-Duser.language=language_code] [-Duser.country=country_code]
Command-line options | Description |
---|---|
-home | Value is a full path to the parent directory
of the config folder.
|
-workArea | Value is a full path to where Rational Publishing Engine creates temporary files. If a value is not specified, Rational Publishing Engine uses the temp folder. Optional. |
-remoteURL | For remote document generations. Value is a URL to the Remote services application. If a value is not specified, the document is generated locally. |
-remoteUser | Value is a user name for authenticating with
the Remote services application. Optional. For more information about how user names and passwords are stored, see Security considerations for IBM® Rational Publishing Engine. |
-remotePassword | Value is a password for authenticating with
the Remote services application. Optional For more information about how user names and passwords are stored, see Security considerations for IBM Rational Publishing Engine. |
-Duser.country | A
common Java™ Runtime Environment
switch that is not unique to Rational Publishing Engine. Value is a country code that corresponds to your language setting. Optional. |
-Duser.language | A
common Java Runtime Environment
switch that is not unique to Rational Publishing Engine. Value is a language code. Optional. |
java –jar SampleDocgen.jar "d:\test\rpe\sample.dsx" -home "d:\test\rpe\home" -workArea "d:\tmp" -Duser.language=pt -Duser.country=BR
java –jar SampleDocgen.jar "d:\tmp\testRemote.dsx" -remoteURL "http://server:8080/rpews/docgen" -remoteUser rpe_user -remotePassword password -Duser.language=pt -Duser.country=BR