On Mon, 21 Jan 2002, Joel Cordonnier <[EMAIL PROTECTED]> wrote:

> QUESTION FOR Ant-1.4.1
>
> Is this possible the propagate a <classpath refid=""..> for a
> project to a sub project ?

First of all, good news for 1.5 - you can inherit all types of
references there.

Bad news, you can't do it in 1.4.1.

But good news for you, in the case of <path>, you can "tunnel" it via
a property.

<path id="some-thing">
<property name="some-thing" refid="some-thing" />

will create a property that holds a string representation of your
path. This one will travel down to your sub build and you can recreate
a <path> from it via

<path path="${some-thing}" id="some-thing" />

Stefan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to