ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: how to pass args to xml
Date Thu, 12 Jul 2001 07:12:55 GMT
On Thu, 12 Jul 2001, Detlef Brendle <detlef.brendle@canoo.com> 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.

use a property

ant -Dtag=my_tag

and use ${tag} in the cvs task.

Stefan

Mime
View raw message