Hi Gurus
I have a problem and need some help here.
I have 2 hosts. A, B
A has property A.exist = 1, B has property B.exist=0.
Both are online in that if I use , they both respond but
I only want to use A and not B.
How do I set up in to allow me to use A only if A.exist = 1 ?
---
Folks
Steve was right. I have to use trim=yes.
On Feb 7, 2008 1:24 AM, Steve Loughran <[EMAIL PROTECTED]> wrote:
> Z W wrote:
> > Charbel
> > thanks for the response.
> > I still get the same problem with that small change.
> >
> >
> > confused ${confused}
> >
> >
> >
> >
> >
> >
> >
> >
Z W wrote:
Charbel
thanks for the response.
I still get the same problem with that small change.
confused ${confused}
retest ${retest6}
_recheck:
[echo] confused 5
[echo]
Condition false; setting retest6 to 6
Setting project property: retest6 -> 6
[echo] retest 6
Pr
I think you have an issue with your snippet... You list retest6 and
retest as properties...
Here is what I tried (note the consistent use of the property entitled
retest6):
confused ${confused}
retest ${retest6}
I get this:
[echo] confused 1
[e
Charbel
thanks for the response.
I still get the same problem with that small change.
confused ${confused}
retest ${retest6}
_recheck:
[echo] confused 5
[echo]
Condition false; setting retest6 to 6
Setting project property: retest6 -> 6
[echo] retest 6
Property "retes
; From: [EMAIL PROTECTED]>
To: user@ant.apache.org> Subject: condition question> > Hi> > Why is this
condition failing/false when "confused" is 1 ? I just don't see> it.> >
confused ${confused} > > > > > > > >
retest ${retest
Double check the name of the property in your code :
...
retest *${retest}*
--
Charbel
On Feb 6, 2008 7:59 PM, Z W <[EMAIL PROTECTED]> wrote:
> Hi
>
> Why is this condition failing/false when "confused" is 1 ? I just don't
> see
> it.
>
> confused ${confused}
>
>
>
>
>
>
>
> retest ${r
Hi
Why is this condition failing/false when "confused" is 1 ? I just don't see
it.
confused ${confused}
retest ${retest}
_recheck:
[echo] confused 1
[echo]
Condition false; setting retest6 to 6
Setting project property: retest6 -> 6
Property "retest" has not been set