ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: Immutable properties aren't really immutable
Date Fri, 05 Apr 2002 18:02:27 GMT

----- Original Message ----- 
From: "Brian Murray" <brian.c.murray@vanderbilt.edu>
To: <ant-user@jakarta.apache.org>
Sent: Friday, April 05, 2002 8:36 AM
Subject: Immutable properties aren't really immutable


> OK, I give up.  I'm just about ready to switch to make and I don't even
> know what make is.
> 
> I've had the "properties are immutable" message drilled into me.  So,
> can anyone explain how this set of tasks:
>    <echo message="WLHome (unset)= ${weblogic.home.dir}"/>
>    <property file="${user.home}/delegationtree.ant.properties"/>
>    <echo message="WLHome (user file)= ${weblogic.home.dir}"/>
>    <property file="build/delegationtree.ant.properties"/>
>    <echo message="WLHome (project file)= ${weblogic.home.dir}"/>
>    <property environment="env"/>
>    <condition property="weblogic.home.dir" value="${env.WEBLOGIC_HOME}">
>       <not>
>          <equals arg1="${env.WEBLOGIC_HOME}"
> arg2="$${env.WEBLOGIC_HOME}"/>
>       </not>
>    </condition>
>    <echo message="WLHome (environment)= ${weblogic.home.dir}"/>
> 
> Can produce this output (in ant 1.4.1):

> How can ${weblogic.home.dir} change from what was set in the first
> property file?

It wont in the nightly builds


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