We are prompting for a cvs password in our ant script. However, we have
some users that have special characters in their password (! for
example).
How do I escape the special characters, before I send the cvs command to
the system?
Here is the relevant parts of our build.xml:
<target name="get-password" unless="cvs.pass">
<input addproperty="cvs.pass"
message="Please enter your CVS password for
${cvs.user} on ${cvs.host}" />
</target>
Later we build the cvs command like this:
value=":pserver:${cvs.user}:[EMAIL PROTECTED]:${cvs.code.repositor
y.dir}"
If someone's password is: th!s
I would like cvs.pass to be: th\!s
How do I accomplish this?
Wes Lemke
Agency Markets IT
8-206-3213