Hypersonic SQL Build Documentation
Batch files
This batch files are used to compile Hypersonic SQL:
- switchToJDK11.bat
If JDK 1.1.x is used. This batch file will switch the source code to JDK 1.1.x and compile all files.
- switchToJDK12.bat
If JDK 1.2.x (also known as Java 2) is used. By default, the code is switched to this mode.
- build.bat
This batch file just compiles the current code.
When the code is already switched to the correct mode, this file can be used.
- buildDoc.bat
Creates the package documentation using javadoc.
Compiler
By default, the very fast compiler 'jikes' is used to compile the source code.
To use the compiler 'javac', you will have to modify the batch file 'build.bat'
and replace 'jikes' with 'javac'.
Switching Source Code: CodeSwitcher
To switch the source code of Hypersonic SQL, the tool 'CodeSwitcher' is used.
For detailed information on how CodeSwitcher works and how it is used,
see the CodeSwitcher documentation.
The following modes can be switched on or off:
- JAVA2 If you have installed JDK 1.2.x (also known as Java 2).
- TRACE If you need trace info. May be very important for testing.
- TRACESYSTEMOUT Redirects the trace output to System.out