You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Billy Bacon <bi...@thirty3.net> on 2003/05/14 20:07:19 UTC

Giving multiple command line arguments to Ant

I'm trying to give multiple command line arguments to Ant like so....

ant -Dname1=value1 -Dname2=value2 -Dname3-value3 <ant-target>

But this doesn't seem to work. It's only accepting the first -D parameter
and ignoring the rest. Does anyone know how to do this or do I have to
create a properties file and reference that in my build.xml file?

Thank you
- Billy -