ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10386] - condition with isset does not return valid results on ${env.<varname>} when varname is not defined
Date Wed, 03 Jul 2002 21:16:09 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10386>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10386

condition with isset does not return valid results on ${env.<varname>} when varname
is not defined





------- Additional Comments From holtdl@yahoo.com  2002-07-03 21:16 -------
But you're explicitly setting "var7" yourself -before- the condition -- and 
<condition> change that value.

Watch:
$ var0=foo ant -f test.xml
default:
    [echo] var7 not assigned var8 not assigned

Now take out that <property>:
default:
     [echo] var7 assigned var8 not assigned

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


Mime
View raw message