ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: test environment variable and if statement
Date Tue, 05 Feb 2002 20:25:56 GMT
Ant carries around two collections of properties.

Properties from -D/-propertyfile are immutable (even moreso than they should
be in the <ant> case, I think).  For some reason these are called "user"
properties (I guess because the user set them specifically).

Properties set with <property> are mostly immutable, but can be overridden
using an <available> backdoor (and I believe <condition>), and also with
<ant>/<antcall>.  These are just regular propeties, no special name for this
class of them.

I may have misspoke this somewhat as I have to continuously refresh my
memory on the caveats of the immutability since I've refused to ingrain such
confusing things into memory!  :)   Corrections to this are more than
welcome.

    Erik


----- Original Message -----
From: "Michael J McGonagle" <fndsnd@rcnchicago.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Tuesday, February 05, 2002 3:12 PM
Subject: Re: test environment variable and if statement


> Erik Hatcher wrote:
> >
> > Also, just for the record :), properties set from the command-line are
not
> > quite equivalent to properties set from <property file="..."/>.  -D
> > properties (and now -propertyfile ones) are more(?) immutable.
>
> That is quite a large cat to just let out of the bag without
> explaination, especially for us newbies.
>
> What do you mean by "more(?) immutable".
>
>
> Mike
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


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