On Tue, Mar 18, 2008 at 2:31 PM, Foreman, Alex (IT) < [EMAIL PROTECTED]> wrote:
> 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? Yes, this is a known problem, fixed in current trunk: IVY-696. Thanks for sharing anyway. Xavier > > > Many thanks, > > Alex Foreman > Morgan Stanley | Technology > 20 Cabot Square | Canary Wharf | Floor 06 > London, E14 4QW > Phone: +44 20 7677-5732 > [EMAIL PROTECTED] > -------------------------------------------------------- > > 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. > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/
