ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: ant property not set question
Date Mon, 16 Apr 2007 15:01:04 GMT
On 4/16/07, Jan.Materne@rzf.fin-nrw.de <Jan.Materne@rzf.fin-nrw.de> wrote:
> This works for me:
>
> <project>
>     <property environment="env"/>
>     <property name="is.dev.home" value="${env.IS_DEV_HOME}"/>
>
>     <fail message="IS_DEV_HOME/is.dev.home variable is not set.">
>         <condition>
>             <equals arg1="${is.dev.home}" arg2="$${env.IS_DEV_HOME}"/>
>         </condition>
>     </fail>
>     <echo>'${is.dev.home}'</echo>
>
> </project>

Ah, I forgot about that one! Thanks, it's simpler. Now that you
mention it, I think I've even used it in the past. Thanks Jan. --DD

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


Mime
View raw message