SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

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.


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.