On Mon, 16 Jul 2001, Steffen Euch <[EMAIL PROTECTED]> wrote:
> ${PRJ_SOURCE} is the parent directory of "com", the root of our
> packet structure: U:\foo\java\src The patternset, which is passed to
> this generic target below, lists all the directories, that java
> files should be compiled. But if one of these files uses a class
> that isn't in this directories javac compiles it anyhow. I want such
> a javac job to fail.
You cannot do this with javac (the command line thing, not the task)
easily - two options:
(1) Remove everything that must not be used by your sources from
PRJ_SOURCE.
(2) Copy everything that may be used to a temporary dir (using the
patternset, you've already defined) and use that temporary dir as
the srcdir of the javac task.
Stefan