[ Jocelyn Ireson-Paine's Home Page | Free software | Publications ]
Kawa does not have an equivalent to the javac *.java
command, which analyses dependencies between all files in
the directory and compiles them in the appropriate order. To
help, I've written a tool which reads a Kawa source file, extracts
all the calls to require
, then reads the files defining the
require
d classes, and repeats until it has searched all
the required modules. As it searches, it performs a topological sort
to get the classes into order of dependency, and finally writes out
a batch file to compile them in that order. It can be found
in kb7/kb7.zip, and is in the
tools/module_dependencies/
subdirectory thereof.
4th November 2001.
[ Jocelyn Ireson-Paine's Home Page | Free software | Publications ]