ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: How can I have Ant replace unset properties as just empty string
Date Fri, 29 Mar 2002 00:58:39 GMT
--- Drew Davidson <drew@eblox.com> wrote:
> What I'm wondering is why it echos ${foo} when foo is undefined as in
> 
> <echo>foo = ${foo}</echo>
> 
> Which, if foo is undefined echos
> 
> foo = ${foo}
> 
> I don't see what problem this solves as opposed to the output
> 
> foo =

foo could be set to "", so echoing ${foo} is the only way to truly show
it's not set at all.

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