--- Dominique Devienne <[EMAIL PROTECTED]> wrote: >
You can have as many import levels as you want, and
> any file will be
> imported only once (and cycle are taken care of
> too). So it's like all
> imported files belong inside the importee. I'm not
> too sure how that plays
> with Nicola Ken's newest super. Scheme ;-) I think
> it complicates things a
> bit... Not sure yet how to do it better. --DD
>
>
I have no problem with the import (i.e., include) side
of it. That is fine. All my comments are with respect
to the rewriting scheme for target overiding.
I am suggesting a rewriting scheme that renames each
overridden target with the file it comes from:
targetA --> path/A.xml::targetA
and then having ${ant::super(targetA)} expand to the
correct rewrite:
<target name="targetA"
depends="${ant::super(targetA)}"/>
becomes:
<target name="targetA"
depends="path/A.xml::targetA"/>
this is robust no matter how many levels of nesting
you have.
Jose Alberto
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>