How do I read command line arguments in Ant? More details: I want to get a specific version of code in the VSS (using labelling) and the Ant needs to compile all the code. I will have to pass the version information as a command line argument when I invoke Ant. I have other similar requirements. If I remember correctly, there is a way of doing this using a batch file. I am not sure where I read this. Any help regarding this is appreciated.