ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: Newbie help <property>
Date Fri, 28 Dec 2001 19:46:40 GMT

----- Original Message -----
From: "John Volkar" <jvolkar@etransport.com>
To: <ant-user@jakarta.apache.org>
Sent: Friday, December 28, 2001 4:44 AM
Subject: Newbie help <property>


> Okay, once more...
>
> It seems that properties are only inheritable "downwards" thru a series of
> <antcall>'s.  I can see why this is (you would not want child targets
> messing up parent target property settings.  However, I have a situation
> where I want a child <target> to set properties that I want to use in the
> parent <target>.  (see "expand-properties" in the attached sample)
>
> How could I allow a child target to set a property that would then be
> visible to a calling target?
>

save them to a file with <propertyfile>; load them back using <property
file>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message