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" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to