ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Overriding properties
Date Fri, 29 Mar 2002 01:42:37 GMT
--- Erik Hatcher <jakarta-ant@ehatchersolutions.com> wrote:
> <property environment="env"/>
> <property name="my.desired.prop" value="${env.WHATEVER}"/>
> <property file="default.properties"/>
> 
> then define my.desired.prop in default.properties.

I'm not sure why you'd need the "my.desired.prop" -- just set:
  <environment_prefix>.<ENV_VAR_NAME>=<default.value>
directly in your default properties file (or in your build file, if you're
not using an external props file).

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message