ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: AW: Ant PropertyFile Class
Date Mon, 19 Nov 2001 19:33:16 GMT
--- Thomas Christen <chr@active.ch> wrote:
> You mentioned 'Sub' builds. Keep in mind that you can start sub builds
> with the task 'Ant'. These sub builds will inherit all properties from
> the build starting the sub build. Even if you try to set a property in
> your sub build witch has been defined in the 'Master' build already - 
> the new value will be ingnored and the property remains the same as it
> was in the master. The same is true for 'AntCall'.

That's not entirely true. Both <ant> and <antcall> allow you to pass a new
value for an already set property. Also, if you're running Ant 1.4 or
greater, you can now specify that the sub-build shouldn't inherit the
values of already set properties, using the new "inheritAll" attribute.

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

--
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