Class CodeSwitcher
java.lang.Object
org.hsqldb.util.CodeSwitcher
Modifies the source code to support different JDK or profile settings.
Usage: java CodeSwitcher paths|{--pathlist=listfile} [{+|-}label...] [+][-]
If no labels are specified then all used
labels in the source code are shown.
Use +MODE to switch on the things labeld MODE
Use -MODE to switch off the things labeld MODE
Path: Any number of path or files may be
specified. Use . for the current directory
(including sub-directories).
Example: java CodeSwitcher +JAVA2 .
This example switches on code labeled JAVA2
in all *.java files in the current directory
and all subdirectories.
java CodeSwitcher + .
Adds test code to the code.
java CodeSwitcher - .
Removes test code from the code
- Since:
- Hypersonic SQL
- Author:
- Thomas Mueller (Hypersonic SQL Group)
-
Method Summary
-
Method Details
-
main
-
size
public int size()
-