ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ric Searle <...@dialogue.co.uk>
Subject Re: 'default' option for Input task
Date Fri, 28 Jun 2002 12:59:28 GMT
No - the property is set fine:

run:
     [input] What hostname should I use? [aladin.dialogue.net]



Ric

On Friday, June 28, 2002, at 01:52  pm, Stefan Bodewig wrote:

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


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