ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kaj Zilli <KZi...@skyva.com>
Subject RE: Property values with "$" --> bug?
Date Mon, 03 Apr 2000 19:50:11 GMT
Thanks for the tip,
this was my first line of defense (I also tried escaping, e.g. "\$") but
that did not change the outcome. I believe my solution is much more
effective and should also be in compliance with the definition (only ${xxx}
is to be substituted, not $xxx). So I still consider it a bug. 

Cheers 
Kaj

Kaj Zilli

Skyva International Inc.

25 First Street, Cambridge, MA 02141 U.S.A.

Visit our new Web-Site at http://www.skyva.com 

------------------------------------------------------------------------
----------

Voice: +1 (617) 588 7620   Fax: +1 (617) 588 7601

E-Mail: kzilli@skyva.com <mailto:kzilli@skyva.com>  or
kaj.zilli@bigfoot.com <mailto:kaj.zilli@bigfoot.com> 



> -----Original Message-----
> From: William Uther [mailto:will+ant@cs.cmu.edu]
> Sent: Monday, April 03, 2000 2:18 PM
> To: ant-dev@jakarta.apache.org
> Cc: Kaj Zilli
> Subject: Re: Property values with "$" --> bug?
> 
> 
> Hi,
>   You can get the effect you are after by using '$$' 
> everywhere you want 
> '$'.  It would be nice if this were documented.
> 
> \x/ill            :-}
> 
> --On Monday, April 3, 2000 2:06 PM -0400 Kaj Zilli 
> <KZilli@skyva.com> wrote:
> 
> >
> > Dear ant users,
> > I experiment to integrate VSS commands in ant tasks and 
> therefore need
> > property values of the form "$\xyz\abc". I struggelt to define such,
> > because in the variable replace, the "$' was missing (e.g. 
> "\xyz\abc").
> >
> > A small change in the search pattern for the replace 
> changed this (search
> > for "${" instead of "$"). I considered it a bug. what do you think?
> >
> > If you agree please fix it.
> >
> > Kaj
> >
> > Here is my version of the ProjectHelper.java
> >
> >
> >
> >
> > Kaj Zilli
> >
> > Skyva International Inc.
> >
> > 25 First Street, Cambridge, MA 02141 U.S.A.
> >
> > Visit our new Web-Site at http://www.skyva.com
> >
> > 
> --------------------------------------------------------------
> -----------
> > ---------
> >
> > Voice: +1 (617) 588 7620   Fax: +1 (617) 588 7601
> >
> > E-Mail: kzilli@skyva.com or kaj.zilli@bigfoot.com
> 
> 
> 
> 

Mime
View raw message