Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Todd L. Montgomery edited this page Dec 8, 2013 · 6 revisions

The SBE tool is a command line utility that can be used to generate codecs and validate message declaration schemas. The tool is written in Java and can run as an executable JAR file, e.g:

java -jar sbe.jar <message-declarations-file.xml>

The tool will accept options using the system property option format as follows:

java -Doption=value -jar sbe.jar <message-declarations-file.xml>

The tool supports the following options:

  • sbe.validation.xsd: Use XSD to validate or not. XSD filename should be the provided option.
  • sbe.validation.stop.on.error: Should the parser stop on first error encountered? Defaults to false.
  • sbe.validation.warnings.fatal: Are warnings in parsing considered fatal? Defaults to false.
  • sbe.validation.suppress.output: Should the parser suppress output during validation? Defaults to false.
  • sbe.should.generate: Generate or not. Defaults to true
  • sbe.target.language: Target language for code generation, defaults to Java(also supports).
  • sbe.output.dir: Target directory for code generation, defaults to current directory.
  • sbe.ir.filename: Filename to serialize IR(Intermediate-Representation) to within the target directory.
Clone this wiki locally