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]
命令行选项 | 描述 |
---|---|
-home | 值为 config 文件夹的父目录的完整路径。
|
-workArea | 值为 Rational Publishing Engine 用于创建临时文件的完整路径。如果未指定值,那么 Rational Publishing Engine 会使用 temp 文件夹。可选。 |
-remoteURL | 用于远程生成文档。值为指向远程服务应用程序的 URL。如果未指定值,那么会在本地生成文档。 |
-remoteUser | 值为向远程服务应用程序认证时使用的用户名。可选。 有关用户名和密码存储方式的更多信息,请参阅 IBM® Rational Publishing Engine 的安全注意事项。 |
-remotePassword | 值为向远程服务应用程序认证时使用的密码。可选。 有关用户名和密码存储方式的更多信息,请参阅 IBM Rational Publishing Engine 的安全注意事项。 |
-Duser.country | 常见 Java™ 运行时环境交换机对于 Rational Publishing Engine 并不唯一。 值是与语言设置相对应的国家或地区代码。可选。 |
-Duser.language | 常见 Java 运行时环境交换机对于 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