ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Watkins <>
Subject RE: how to pass args to xml
Date Thu, 12 Jul 2001 07:10:20 GMT
Detlef Brendle wrote:
> how can I pass command line parameters to the ant script ?
> I want to use a cvs command to release versions. I would like 
> to pass the
> release tag as argument to the xml target.
> how can I do this?

ant -D<name>=<value> lets you define values for properties.

These can then be used within your Ant script as any normal property:
${<name>} will put in <value>


View raw message