ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: over-riding properties and the concept of scope
Date Fri, 06 Jul 2001 06:25:54 GMT
On Thu, 5 Jul 2001, Peter Vogel <pvogel@arsin.com> wrote:

> I general, this behavior (first definition overrides all others) is
> the *correct* behavior for build infrastructures.

Agreed.

> Hopefully ant2 will have some *explicit* method for a lower level to
> override the upper levels, one that can be grepped for so that the
> build engineer can catch it if someone overrides something they
> shouldn't in a lower level buildfile.

I prefer a mechanism that allows the build engineer to specify which
properties may be overridden and which must not.  Making it impossible
to override "something they shouldn't" is even better than having to
grep for inappropriate usage every now and then IMHO.

Stefan

Mime
View raw message