From: <[EMAIL PROTECTED]>
> On Sat, 9 Mar 2002, Darrell DeBoer wrote:
>
> > Hi
> >
> > On Sat, 9 Mar 2002 16:15, [EMAIL PROTECTED] 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.
>
This has been part of ANT syntax since ANT 1.1. "$" need to be escaped.
To change this now would cause all kinds of trubble I am afraid in particular
in things like <sql> tasks where the scripts themselves have to use '$$'.
Jose Alberto
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>