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 | A full path to the parent directory of the config folder.
|
-workArea | A full path to where Rational Publishing Engine creates temporary files. If no value is specified, Rational Publishing Engine uses the temp folder. Optional. |
-remoteURL | A URL to the Remote services application, used for remote document generation. If no value is specified, the document is generated locally. |
-remoteUser | 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 | 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 country code that corresponds to your language setting. Optional. A common Java™ Runtime Environment switch that is not unique to Rational Publishing Engine. |
-Duser.language | A language code. Optional. A common Java Runtime Environment switch that is not unique to Rational Publishing Engine. |
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