ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: [PROPOSE] task parameters that are only supplied when a property is defined
Date Mon, 11 Mar 2002 11:24:06 GMT
On Sat, 9 Mar 2002 19:06, costinm@covalent.net wrote:
> On Sat, 9 Mar 2002, Darrell DeBoer wrote:
> > Hi
> >
> > On Sat, 9 Mar 2002 16:15, costinm@covalent.net 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.
>
> That's strange.
>
> Any problem in fixing this ? I checked the manual and it doesn't say you
> have to double $$ ( or I couldn't find that ), and $ is a valid character
> for an attribute. If this is true, we certainly need to fix it.

It is a feature not a bug.

-- 
Cheers,

Pete

*----------------------------------------------*
| The best defense against logic is ignorance. |
*----------------------------------------------*


--
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