ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tharp, Joshua L, SOLGV" <jlth...@att.com>
Subject RE: Giving multiple command line arguments to Ant
Date Wed, 14 May 2003 18:10:59 GMT
What OS?
Do you have any shell-confusing characters in any of the values?

A little more information is necessary.

Josh

-----Original Message-----
From: Billy Bacon [mailto:billy.bacon@thirty3.net] 
Sent: Wednesday, May 14, 2003 11:07 AM
To: Ant Users List
Subject: 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 -


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message