Requirements
To compile qflib, you need a working make program, preferably GNU make, and a JDK 1.1, 1.2 or above.
If you want to compile qflib on a Windows system, it is useful but not essential to have the GNU tools installed. A very convenient, precompiled package with comfortable installation support is available from Cygnus at http://sourceware.cygnus.com/cygwin/.
If you want to use qflib with JDK 1.1 you will need the Collection
classes for JDK 1.1 available at
http://java.sun.com/beans/infobus/#DOWNLOAD_COLLECTIONS.
To compile with unit and integration test support, you will need the
JUnit package available from
ftp://www.armaties.com/D/home/armaties/ftp/TestingFramework/JUnit/.
Compiling using make
Please read and edit include/makefile.system to set the JDK version and your favourite Java compiler according to your environment. The comments should speak for themselves and reasonable defaults are provided.
When you are finished, execute make. This will run the preprocessor, if you have one, or just copy the provided files according to the selected JDK version. The compiled Java classes will end up under the classes directory in the qflib release's root dir. RMI stubs and skeletons are generated as necessary and a new jar file named qflib.jar is created.
To regenerate the documentation, execute make doc.
To excute the tests (if you have JUnit), do make test.
Compiling without make
For people stuck on Windows without the GNU tools from Cygnus, a simple batch file mechanism is provided. Please edit the file make_all.bat to configure your JDK version and simply execute it when finished. To regenerate the documentation, use the make_doc.bat file.
- Java and all Java-based names are registered trademarks of Sun Microsystems, Inc.
