Generating the Liberty profile configurations schema from the command prompt
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
Syntax: 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 we are creating the output file.
- --ignorePidsFile=fileName
- Where fileName is the name of the file name containing a list of pids to ignore.
- --locale=language
- Where language specifies the language to use when we 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 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
Parent topic: Administer the Liberty profile from the command prompt