Monday 23 December 2013

Pass arguments to build file - Apache Ant

In Apache Ant, we can pass arguments to the build file using the switch -D. We can define a value for a property from the command line using -Dname=value

Eg:

ant build.xml -Dx=5

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...
eXTReMe Tracker