This topic applies to WebSphere Application Server Liberty V8.5.5.9 and earlier. For the latest Liberty topics, see the WebSphere Application Server Liberty documentation.

Generating Liberty configurations schema from the command line

Use the ws-schemagen.jar tool that is in the installation's bin/tools directory to generate the schema for Liberty core and other installed products extensions in a single output file.

Syntax

The command syntax is as follows:

java [JVM options] -jar ws-schemagen.jar [options] outputFile

Options

The following options are available:
--encoding=charset
Where charset is the character set to use when you are creating the output file.
--ignorePidsFile=fileName
Where fileName is the name of the file name that contains a list of pids to ignore.
--locale=language
Where language specifies the language to use when you are creating the output file. This string consists of the ISO-639 two-letter lowercase language code, optionally followed by and underscores and the ISO-3166 uppercase two-letter country code.

Usage examples

The following example generates the installed products' schema and stores in a file called schema.xsl:
java -jar ws-schemagen.jar schema.xsl
The following example generates the installed products' schema and stores in a file that is called schema.xsl using the Brazilian Portuguese language:
java -jar ws-schemagen.jar schema.xsl --locale=pt_BR
The following example displays help information:
java -jar ws-schemagen.jar --help

Icon that indicates the type of topic Reference topic



Timestamp icon Last updated: Tuesday, 12 December 2017
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-libcore-mp&topic=rwlp_schema_gen
File name: rwlp_schema_gen.html