ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <peter.rei...@corvil.com>
Subject Re: Misleading error reporting with <import>s
Date Mon, 03 Nov 2003 17:02:43 GMT
This is the way antlib works....

I suppose it would be better to do
/tmp/bad.xml:2:  The content of elements must consist of well-formed
 character data or markup.
Imported by
/tmp/import_bad_import.xml:2:
Imported by
/tmp/import_import_bad_import.xml:2:

Putting the filename at the start of the line allows
emacs next-error (and other error detection ides using
emacs style errors) to locate the file (s).

Peter
On Monday 03 November 2003 16:51, Stefan Bodewig wrote:
> [bodewig@bodewig tmp]$ ant -f import_import_import_bad_import.xml
> Buildfile: import_import_import_bad_import.xml
>
> BUILD FAILED
> /tmp/import_import_import_bad_import.xml:2: Error executing import file
> /tmp/import_import_bad_import.xml:2:  Error executing import file
> /tmp/import_bad_import.xml:2:  Error executing import file
> /tmp/bad.xml:2:  The content of elements must consist of well-formed
> character data or markup.
>
> Total time: 0 seconds
>
> ;-)
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org


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


Mime
View raw message