-q |
Quote exact by default. Lines with no particular translation code in column 1 are translated exactly by default. |
-qq |
Quote magically by default. Lines with no particular translation code in column 1 are translated magically by default. This is the standard behavior of BPP. |
-b |
Generate (but do not execute) beanshell script
Source extension | Default output extension |
.bpp | .bsh |
.jpp | .java |
This is equivalent to -s 2.
|
+b |
Send beanshell script through bsh and save output generated by script instead. If the source file ends in .bpp and no output file is specified, then the output file is the same as the input file with the extendsion deleted. Otherwise the output is sent to the standard output.
This is equivalent to -s 0.
|
-o file | Specify output file ("-" for stdout). |
-s stage | Generate output from given stage only:
Stage | 0 | 1 | 2 | 3 | 4 | 5 |
Filter | None | beanshell # interpreter | beanshell # decorator | beanshell ## interpreter | beanshell ## decorator | ... |
The decorator filters take input and produces output suitable for running through beanshell. The interpreter filters are beanshell interpreters executing those scripts. |
-maxline value |
Use this as the maximum line length for the preprocessor instead of the DEFAULT_MAX_LINE_LENGTH. |
-Dname=value |
Set system property (available as System.getProperty(name)). |
+cp=globbed-paths |
Add these to the classpath for each BeanShell interpreter. Paths are separated by a ; and path parts are separated by a /. See Unglobber for globbing patterns. I like -cp=--/bpp/bin/++/*.jar;--/bpp/bin/++/classes. This class path will adjust the class path used by BeanShell, not for BeanShell. The BPP and BeanShell jar must appear in the standard class path. |
-a arg |
Add arg to the list of args passed to each bsh interpreter. (available as BPP.args) |
-z |
Empty the arg list passed to each bsh interpreter. |
-u |
Use the specified class for the specified stage. Only even (decorator) stages can be replaced, and the defined stage must be a subclass of the BeanshellDecoratorFilter and have the same constructor. |