File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


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: 2501
    
    8

Welcome to the Ranch, Ritesh!


OCUP UML fundamental and ITIL foundation
youtube channel
 
GeeCON Prague 2014
 
subject: Not able to pass wild character aspart of command line property