You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Kaj Zilli <KZ...@skyva.com> on 2000/04/03 20:06:09 UTC

Property values with "$" --> bug?

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 <http://www.skyva.com/>  

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

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

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

 

Re: Property values with "$" --> bug?

Posted by William Uther <wi...@cs.cmu.edu>.
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 <KZ...@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