How To Pass Command Line Arguments To Ant Task / Script

How To Pass Command Line Arguments To Ant Task / Script

Note: This article will be emailed to your friend.

Ant is a popular, high quality Java based build and deployment tool from Apache Foundation. You can invoke Java programs in ant using the java task. Optionally you may want to pass it command line arguments. Here is how you can do it.

ant -Dclass=class.name -Dargs=”optional multiple arguments enclosed within double quotes” run
You can access it [...]

Read the rest of this article (89 words)

Please fill in the following fields

* - Required

Your Name: *

Your E-Mail: *

Your Remarks:

Friend's Name: *

Friend's E-Mail: *

Protected by Comment Guard Pro