Skip to content

btracec

Jaroslav Bachorik edited this page Aug 29, 2014 · 2 revisions

btracec

btracec is a command for compiling the trace scripts down to class files.

The syntax is

btracec [-cp <classpath>] [-d <directory>] <one-or-more-BTrace-.java-files>

  • classpath is the classpath used for compiling BTrace program(s). Default is "."
  • directory is the output directory where compiled .class files are stored. Default is ".".

Rather than regular javac the BTrace compiler is used - causing the script to be validated at compile time and prevent reporting verify errors at runtime.

Clone this wiki locally