ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Misleading error reporting with <import>s
Date Mon, 03 Nov 2003 16:53:03 GMT
On Mon, 3 Nov 2003, Dominique Devienne <> wrote:
>> From: Stefan Bodewig []
>> On Tue, 21 Oct 2003, Dominique Devienne <> 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.
> No, really Stefan! recurse.xml was doing a <subant> on rescue.xml,
> and it's rescue.xml which failed to parse (like I said, because
> rescue.xml was doing an entity include of a URI using a custom URL
> protocol not enabled during this run.

Well, as it was an IOException, I expected it to be a problem with the
importing file.  I would expect a SAX exception if it was in the
imported one.  But an invalid URL may result in IOExceptions, of



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message