ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akbar Ibrahim" <>
Subject Re: escaping characters
Date Sat, 07 Oct 2000 09:34:03 GMT
You can type two $'s.

For example,

<property name="password" value="abc$$123" />

and password will have the value abc$123


----- Original Message -----
From: "Chris Gramly" <>
To: <>
Sent: Saturday, October 07, 2000 2:31 AM
Subject: escaping characters

> I am trying to use the ftp optional tasks with ant.  I was able to get it
> working (thanks to Eric Meade and Nico Sessle) but now I am having another
> issue.  One of my passwords contains the '$' character for the login.  I
> think this is causing a login failure because ant thinks that this is
> used to reference a property.  If I try a different username/password that
> doesn't contain the '$' character it works fine.  Is there a way to escape
> this character in my build.xml document so that ant will not be confused?
> Thanks,
> -Chris

View raw message