hsqldb v.1.61 Build Documentation
Batch files
This batch files are used to compile hsqldb v.1.61:
- 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, 'javac' is used. To use another compiler, you will have to modify
the batch file 'build.bat' and replace 'javac' with the name of your chosen
compiler.
Switching Source Code: CodeSwitcher
To switch the source code of hsqldb v.1.61, 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
Building with ANT, from the Apache Jakarta Project
ANT (Another Neat Tool), from the Jakarta project, receives
full build support for the first time in this release of hsqldb. Directions
for Building with ANT can be found on the ANT build page
for this package. Thanks go out to the Apache/Jakarta and ANT teams for
giving the world such a wonderful tool. Additional links to ANT info can be
found on the Links Page.