ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 48985] Special characters like $ and § are not supported in password attribute of sshexec task
Date Tue, 19 Feb 2013 04:18:14 GMT

--- Comment #4 from Sudheer Chigurupati <> ---
Comment on attachment 29966
Workaround for problem of $ in ANT

Hi Antoine,

       Thanks for considering my request..!!

       Yes, the problem persisted with Single $ sign(I have tried with single $
sign, as my password has only one $ sign).

       As per my knowledge: If Linux shell encounters "$X", it tries to replace
$X with the value of environment variable X. But, as there is no such variable
X it is replacing $X with empty string("").

       I have not tried by-passing the ANT, and I am using ant-1.8.4 &

       But after hours of struggle, I have found some workaround. Mentioned in
the attachment(#3), but we have below problems with this approach.

       1. Every time Developer needs to replace $ with '\$' in his code.
       2. And the same approach fails in Windows(We miss the Biggest Java
feature of Platform independence)
       3. Moreover , its not just the problem of password. Its the problem of
every ant property value which has $ sign in it.

You are receiving this mail because:
You are the assignee for the bug.

View raw message