ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: circular <import>s
Date Wed, 17 Sep 2003 12:21:38 GMT
On Wed, 17 Sep 2003, Nicola Ken Barozzi <> wrote:
> Stefan Bodewig wrote:

>> I feel this is wrong for two reasons: 
>> (1) The current build file (the one intially loaded) should be
>> added to the list of already imported files implicitly so it
>> doesn't get loaded twice at all.
>> (2) circular imports look like a bug to me - the build should fail.
> This is the only possible issue. The decision on this point will
> automatically define number 1.

I'm not sure.  Even if you think the current "flat" import rules are
correct, (1) should be addressed IMHO.

> So the current behaviour is correct given the actual -flat- import
> rules.

I see and understand that - I just question that rule.  If A imports B
and B imports A, I do consider it a bug in the build file.


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

View raw message