ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: [PROPOSE] task parameters that are only supplied when a property is defined
Date Tue, 12 Mar 2002 17:35:18 GMT

----- Original Message -----
From: "Stefan Bodewig" <bodewig@apache.org>
To: <ant-dev@jakarta.apache.org>
Sent: Tuesday, March 12, 2002 02:44
Subject: Re: [PROPOSE] task parameters that are only supplied when a
property is defined


> On Sat, 9 Mar 2002, <costinm@covalent.net> wrote:
> > On Sat, 9 Mar 2002, Darrell DeBoer wrote:
> >
> >> This is not *quite* true. If you use "$!{name}", ant will strip the
> >> "$", so you'll see "!{name}" as the value.
> >
> > That's strange.
>
> But has been that way ever since (which is why we cannot change it,
> there are lots of build files that contain Outer$$Inner for inner
> classes).

one option would be to fix the single $ behavior, but treat double $$ as
special, and make that a single $ too. So to get two $$ signs together you'd
need $$$$, as now...

> > 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.
>
> It says it in a couple of hidden places - in javac.html for example,
> but not very prominently.  Also there are a bunch of resolved bug
> reports that talk about this behavior.  We need to fix the
> documentation.




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