SCons also makes building with Java extremely easy.
Object builder methods,
Java builder method
requires that you specify
the name of a destination directory in which
you want the class files placed,
followed by the source directory
in which the
.java files live:
contains a single
then the output from running the scons command
would look something like this
(on a POSIX system):
sconsscons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... javac -d classes -sourcepath src src/hello.java scons: done building targets.
We'll cover Java builds in more detail,
including building Java archive (
and other types of file,
in Chapter 24, Java Builds.