ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Foreman, Alex \(IT\)" <Alexander.Fore...@morganstanley.com>
Subject In-perfect error :)
Date Tue, 18 Mar 2008 13:31:15 GMT
If you have a configuration eg:
<conf name="x" />

And by mistake you extend itself:
<conf name="x" extends="x" />

Ivy doesn't tell you its illegal to extend yourself but tries to do this
and ends up with a stack overflow error.

For purposes of tracking this down a nice error saying you cannot extend
in a circular fashion would be nice.

I found this error very quickly but I can imagine it being non-obvious
esp if you have x->y->z->a->z on multiple lines of xml.

Is this a known problem?

Many thanks,

Alex Foreman
Morgan Stanley | Technology
20 Cabot Square | Canary Wharf | Floor 06
London, E14 4QW
Phone: +44 20 7677-5732
Alexander.Foreman@morganstanley.com
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not intend to
waive confidentiality or privilege. Use of this email is prohibited when received in error.

Mime
View raw message