Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Not able to pass wild character aspart of command line property  RSS feed

 
Ritesh rai
Greenhorn
Posts: 1
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am tring passing -DpropValue='Pass$123' as part of ant properties which will be further used by buildSrod.xml as a password but the problem I am facing is, after running the ant command I am seeing it is not allowing me to pass $ as a string and putting whole string as ' -DpropValue'Pass$123' instead.

Please point out something so that I can be able to pass $ as part of string
 
Jan Cumps
Bartender
Posts: 2628
17
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch, Ritesh!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!