ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: properties vs userproperties
Date Tue, 13 Mar 2001 07:30:24 GMT
Matt Brown <> 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

> User Property: anything passed to ant via -Dkey=value plus ant.file
> and 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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message