This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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: 2477
    
    7

Welcome to the Ranch, Ritesh!


OCUP UML fundamental and ITIL foundation
youtube channel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not able to pass wild character aspart of command line property
 
Similar Threads
Scanner in java.util
ANT FTP
ANT and Log4J
Passing HTML string/stream to Browser
Converting a String to Proper Case