Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Ant, Maven and Other Build Tools and the fly likes Not able to pass wild character aspart of command line property Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Not able to pass wild character aspart of command line property" Watch "Not able to pass wild character aspart of command line property" New topic
Author

Not able to pass wild character aspart of command line property

Ritesh rai
Greenhorn

Joined: Dec 28, 2011
Posts: 1
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

Joined: Dec 20, 2006
Posts: 2535
    
  10

Welcome to the Ranch, Ritesh!


OCUP UML fundamental and ITIL foundation
youtube channel
 
Consider Paul's rocket mass heater.
 
subject: Not able to pass wild character aspart of command line property