ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darrell DeBoer <>
Subject Re: [PROPOSE] task parameters that are only supplied when a property is defined
Date Sat, 09 Mar 2002 07:05:13 GMT

On Sat, 9 Mar 2002 16:15, wrote:
> If you use $!{name}, ant will certainly not touch it - and your task
> can do it's own substitution.

This is not *quite* true. If you use "$!{name}", ant will strip the "$", so 
you'll see "!{name}" as the value. (This is because ant strips all single "$" 
characters without warning, unless they are part of a "${...}" construct.) 
You'll need to use "$$!{name}" instead.

(One slightly bizarre result of the current behaviour is that "$${propX}" and 
"${propX}" produce identical output when propX is undefined.)


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

View raw message