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>
Robert.
