ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Z W" <mpc8...@gmail.com>
Subject Re: condition question
Date Thu, 07 Feb 2008 17:40:38 GMT
Folks
Steve was right. I have to use trim=yes.



On Feb 7, 2008 1:24 AM, Steve Loughran <stevel@apache.org> wrote:

> Z W wrote:
> > Charbel
> > thanks for the response.
> > I still get the same problem with that small change.
> >
> >
> > <echo> confused ${confused} </echo>
> >
> > <condition property="retest6" value="3" else="6">
> >
> > <equals arg1="${confused}" arg2="5" />
> >
> > </condition>
> >
> > <echo> retest ${retest6}</echo>
> >
> >
> > _recheck:
> >      [echo]  confused 5
> >      [echo]
> > Condition false; setting retest6 to 6
> > Setting project property: retest6 -> 6
> >      [echo]  retest 6
> > Property "retest" has not been set
>
>
> Go <echo> confused [${confused}] </echo>
>
> I think there is whitespace in the property
>
> --
> Steve Loughran                  http://www.1060.org/blogxter/publish/5
> Author: Ant in Action           http://antbook.org/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message