ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sagi Mann <sagim...@gmail.com>
Subject Re: AntX: $map example from guide fails when key is missing?
Date Wed, 17 Dec 2008 16:41:58 GMT

Hi, I was unable to get your script to work.
the echo message was literally showing the $prop URI.

the script:

<ax:properties id="p1">
   <ax:property name="prop1" value="xxx"/>
</ax:properties>
<ax:foreach i="key" list="${$map:p1?keys}" mode="local">
   <echo>
   ${key}: p1='${$prop:p1->@(key)}'
   </echo>
</ax:foreach>

the output:

prop1: p1='${$prop:p1->@(key)}'


so I'm still stuck :-)
any ideas?
thanks...

-- 
View this message in context: http://www.nabble.com/AntX%3A-%24map-example-from-guide-fails-when-key-is-missing--tp20940737p21056607.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Mime
View raw message