ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: [ant] could/should <ant> task allow passing references?
Date Thu, 22 Nov 2001 10:59:28 GMT
On Thu, 22 Nov 2001, Matthieu Bentot <> wrote:

> What it does is, for every reference child element, copy the
> reference from the parent project into the child (renaming it if
> specified),

Fine with me.

> Then every reference that's left from the parent project is copied
> as is in the child, unless a reference with that name already exists
> there.

This only works because Ant1 evaluates all id attributes while parsing
the file - it would probably become difficult to maintain that
functionality for Ant2.  At least an approach like this should look
at the inheritall flag IMHO.

> I realize this is inconsistent with the way properties are handled,

But making it consistent with properties in the inheritall="true" case
would certainly break a lot of build files (i.e. overwrite the child's
class.path <path> with the one defined in the parent that has the same


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

View raw message