Jutil.org : programming as you know it is over


Table of Contents
Home
Contact
Documentation
Links
News
Features
Download
Javadoc API

Documentation
Coding Style
Compiling the code
How to contribute
CVS
Javadoc API
Mailing lists
License
Quality levels

Compiling the code
Ant
Codewarrior
Ant

To compile the code using ant, just invoke ant on the command line. The possible targets are:

  • all: compile the code and make jars
  • test: compile the code and run the junit tests. (see the ant homepage for installation instructions)
  • compile: compile the code
  • doc: merge JML and javadoc specs, generate javadoc and rasterize class diagrams
  • clean: remove the class files and generated jars
The build file will detect whether or not the JDK version which you are using is 1.1.8 or 1.2+ and will adapt the source for 1.1.8 if necessary. The reason for this is that the collections API is required, but was not included in the 1.1.8 release. When JDK 1.1.8 is detected, some modifications are performed on the code. For 1.1.8, the collections jar will be included in all generated jars to make it more convenient for the users of the jars.