ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: ANT semantics and power
Date Mon, 28 Feb 2000 21:13:09 GMT

Costin wrote:
> Wrong use of property and ant. You use it as a programming language, it's
> not a variable, property is used to define constants. Since it's a
> constant it can be set anytime.( and must be set before anything else is
> executed )

If properties are intended to be constants, then properties should not be
tasks, nor should their definitions be allowed to be nested inside of
targets.  If this is the case, then I'll go back and undo my changes of
this morning to the various build.xml files and add logic to Ant to enforce
this.  Similar arguments could be made for Available, Filter, and Tstamp.

Alternatively, I gather that the collective expectations are that
properties *are* in fact a task, and this implies that their values will
change at runtime.

- Sam Ruby

View raw message