ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: 'default' option for Input task
Date Fri, 28 Jun 2002 12:52:16 GMT
On Fri, 28 Jun 2002, Ric Searle <ric@dialogue.co.uk> wrote:

> I think I'm nearly there with the code below, but the <equals>
> condition doesn't behave as I'd expect.  The finalHostName property
> is never set to env.HOSTNAME.

>          <condition property="finalHostName" value="${env.HOSTNAME}">
>            <equals arg1="${input.hostname}" arg2="" trim="yes"/>
>          </condition>

Hmm, what does 

<echo message="&gt;${input.hostname}&lt;" />

give you (i.e. is the property really empty)?

Stefan

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