ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: [PATCH] Buid file parse error msgs wrong when including XML s nippets
Date Wed, 03 Jul 2002 13:58:07 GMT
You might want to look at which adds the
<import> top-level element with special handling in
Your patch may (or not) need to address what the patch there does for proper
error reporting too. Thanks, --DD

-----Original Message-----
From: Jason Brittain [] 
Sent: Tuesday, July 02, 2002 8:14 PM
Subject: [PATCH] Buid file parse error msgs wrong when including XML

Hi there.

Currently, whenever you include an XML snippet in a project file like
the FAQ shows here:

It works fine, but if there's a parser error in the file I'm including,
Ant incorrectly tells me that the error is in the file I included it in
(instead of in the included file).  I believe this is a bug.

The attached patch of (CVS head's version) seems
to fix this problem for parse errors.  I've also attached a patch for
Ant 1.4.

Can/should this be fixed by Ant 1.5 (final)?

There are also other spots where this same bug probably occurs after
Project parse time, which I'm going to investigate next..


Jason Brittain
<jasonb (~at~) collab (~dot~) net>

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

View raw message