need help in writing ant target

Posted by magic1234 on Stack Overflow See other posts from Stack Overflow or by magic1234
Published on 2010-03-25T06:11:05Z Indexed on 2010/03/25 6:13 UTC
Read the original article Hit count: 158

Filed under:
|

I am new to writing ant targets. I've to pass 3 arguments from the command line to java program. All these can be optional and can have spaces. How can i do that using ant target.

I tried using but if it delimits the arguments by space. So, if my first argument has space then it takes the word after space as second argument.

I also tried using It takes spaces but makes the arguments mandatory.

Im my java code, i've to set default values for these arguments if any of these is missing.

How can i do that.

© Stack Overflow or respective owner

Related posts about ant

Related posts about command-line