Apache Ant
Define the system properties in command line by specifying:
ant run -Dhost=arjun
Generically you can pass properties by -Dkey=value format
You can pass multiple properties this way.
Also: How To Flexibly Pass JVM parameters to Apache Ant Java (Runtime) Task
Apache Ant is an excellent Java based build & deployment system using XML configuration file.
Apache Ant is an excellent and popular Java based build system.
Ant is a popular, high quality Java based build and deployment tool from Apache Foundation.