ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russ Fink" <russf...@hotmail.com>
Subject RE: Reset an existing property
Date Thu, 01 Jan 1970 00:00:00 GMT
I thought this reassignment of properties was going away, or otherwise found 
to be undesirable?  This is related to my newbie-if-then-else thread.  Am I 
seeing where this is becoming more of a needed feature?

>From: "Kurien Mathew" <kurien@envivio.com>
>
> > > One, I hope, simple question.
> > >
> > > Is it possible to reset an existing property,
> > > something like
> > >
> > > <property name="dir.src" value="./src"/>
> > > <property name="dirty.src" value="d:\CVS\...."/>
> > > <property name="dir.src" value="${dirty.src}"/>
> > >
>
>Here is an alternative :
>
><property name="dir.src" value="./src"/>
><property name="dirty.src" value="d:\CVS\...."/>
>
><available file="." property="dir.src" value="${dirty.src}"/>
>
>Note: <available> task must be enclosed in some <target>
>
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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


Mime
View raw message