You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2003/11/03 16:54:19 UTC

Re: Misleading error reporting with s

On Tue, 21 Oct 2003, Dominique Devienne <DD...@lgc.com> wrote:

> The error message doesn't specify which build file failed to parse
> correctly,

I think it did, as the message must have come from an IOException, so
the error actually is in recurse.xml not in the file it is trying to
import.  At least I think so.

It will now tell you which file/URL caused the exception, though.

> and furthermore, the error is reported to occur in recurse.xml,
> never mentioning that recurse.xml was in fact imported from
> build.xml or at which line.

This is a bit harder to track down and put into the error message, I'm
afraid.  Currently we don't keep track of that at all AFAICS, we only
record that a file has been imported, but not from where.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org