ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Ant book?
Date Tue, 03 Jul 2001 14:03:55 GMT
Rupam Das <Rupam.Das@itsindia.com> wrote:

> Scenario:-
> ========= 
> I want to pass the value for these two property from the command
> line.
> 
> <property name="build" value=""/>
> <property name="dist"  value=""/>

make that 

<property name="build" value="${build.from.batch}"/>
<property name="dist"  value="${dist.from.batch}"/>

and invoke Ant as 

ant -Dbuild.from.batch=foo -Ddist.from.batch=bar

Stefan

Mime
View raw message