Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
Bash based preprocessor for Java jpp is simple, at least if you know GNU Bash. Add lines beginning with # in your Java files, shebangs are ignored, the rest consists of directives coded in GNU Bash. An example is located in ‘test/’. Files named .jpp will be renamed to end with .java. In addition to # lines, variables can be included in a Java code line by placing the name inside dollar signes inside double quotes that are in turn in sharp angle brackets. Like this: <"$VARIABLE$">. ‘<"">’ is treated as ‘//’ in normal mode and ignored in debug mode which is active if the varible DEBUG is exported with -D. Variables are specified when running jpp by -D (also known as --export) options, the argument should be as if declared in Bash, the code argument actually just pasted. Just setting a name in the argument is mote and can not be used to declare boolean variables as true.