ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Brown" <bro...@reflexe.fr>
Subject Re: Understanding directory-based tasks referred to by ID
Date Fri, 27 Dec 2002 16:58:24 GMT

> > 3./ If any of the fileset's attributes are based on expanded
> > properties,
> > such as dir="${build}/lib/*.jar", when is this expansion performed?
> > For
> > example, what happens if the fileset elements are defined outwith any
> > task
> > or target, containing an expandable property, only defined in the
> > "init"
> > target, where the fileset is referred to by a later "compile" target
> > that
> > depends on "init"...?
>
> This is an easy one.... properties are expanded as soon as the fileset
> is constructed, so the properties must be set before the fileset
> definition occurs during the build process.

By "constructed", do you mean at the time the build script is "parsed", or
do you mean when some underlying objects (or whatever) are constructed the
first time it's referenced ?

Thanks
Chris



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