https://issues.apache.org/bugzilla/show_bug.cgi?id=48985
--- Comment #4 from Sudheer Chigurupati <[email protected]> --- Comment on attachment 29966 --> https://issues.apache.org/bugzilla/attachment.cgi?id=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 & jsch-0.1.44.jar. 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.
