DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10456>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10456 Build file parse error messages wrong when including XML snippets. Summary: Build file parse error messages wrong when including XML snippets. Product: Ant Version: 1.5Beta3 Platform: All OS/Version: All Status: NEW Severity: Critical Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] In Ant 1.5Beta3 and below, whenever you include an XML snippet in a project file like the FAQ shows here: http://jakarta.apache.org/ant/faq.html#xml-entity-include It works fine, but if there's a parser error in the file I'm including, or any task error that occurs in the file I'm including after parse time, Ant incorrectly tells me that the error is in the file I included it in (instead of in the included file). This is a bug. I'm attaching a patch of ProjectHelperImpl.java fixes this problem for both parse errors and task errors. I'm also attaching a patch for Ant 1.4. This patch is already very well tested. I'm attaching a tar.gz archive of test case example build file sets along with their build output both before and after this patch. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
