ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Inter-project classpath refid propagation ?
Date Mon, 21 Jan 2002 15:22:57 GMT
On Mon, 21 Jan 2002, Joel Cordonnier <> 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" />


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

View raw message