ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: properties vs userproperties
Date Tue, 13 Mar 2001 07:30:24 GMT
Matt Brown <matt@avolent.com> wrote:

> Property: these include values imported from the environment
> variables and any <property> definitions encountered in the project
> script. These values are used for ${value} expansion.

No importing from environment variables. But it includes system
properties.

> User Property: anything passed to ant via -Dkey=value plus ant.file
> and ant.project.name set from Project.

plus anything defined via nested <property> elements of <ant> or
nested <param>s in <antcall>.

The idea was that userproperties should take precedence over anything
the build file writer ever tries to do - they should be truly
immutable. "Normal" properties are mutable, but not by using the
<property> task, you'll have to invoke project.setProperty directly.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ant-dev-help@jakarta.apache.org


Mime
View raw message