On Wed, 12 Mar 2003, Berin Loritsch <[EMAIL PROTECTED]> wrote:

> The build throws an exception refering to a directory that does
> not exist.

No.  What you see is a warning message by Ant, not an exception in
your build.  The warning is new in CVS HEAD.

What happens is that you create a <path> containing a <fileset> that
points to a dir which doesn't exist.  Ant 1.5.x will not do anything
with the <path> as long as you don't use it - no warning, nothing.  If
you tried to use the <path> you'd get an exception in Ant 1.5.x as
well as in HEAD.

Ant's CVS HEAD invokes the toString() method on that <path> for a
debug level log message - leading to the same exception you'd get for
using the <path>.  This exception is swallowed by Ant but printed as a
warning message now.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to