ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <>
Subject Re: circular <import>s
Date Wed, 17 Sep 2003 13:14:45 GMT
peter reilly wrote:

> On Wednesday 17 September 2003 14:00, Nicola Ken Barozzi wrote:
>>Stefan Bodewig wrote:
>>>I'm not sure.  Even if you think the current "flat" import rules are
>>>correct, (1) should be addressed IMHO.
>>Wait, you said that it prints out:
>>"Skipped already imported file build.xml"
>>This means that the current file is *not* imported twice... how do you
>>gather that it executes the import once?
> It executes the build.xml as a normal ant file and then build.xml
> as an imported ant file.
> The effect is that top-level tasks in the build.xml are executed twice.

Ah, ok, so this means that the "skip" is done on the second iteration.

Right, then the current buildfile should be added to the list of already 
imported files, Stefan is right.

The output will still read the same in this case, but the import will 
only be done once.

Nicola Ken Barozzi         
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)

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

View raw message