condition question

2008-03-31 Thread Z W
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 ? ---

Re: condition question

2008-02-07 Thread Z W
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} > > > > > > > > > > > > > > > >

Re: condition question

2008-02-07 Thread Steve Loughran
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

Re: condition question

2008-02-06 Thread Scot P. Floess
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

Re: condition question

2008-02-06 Thread Z W
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

RE: condition question

2008-02-06 Thread Martin Gainty
; 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

Re: condition question

2008-02-06 Thread Charbel BITAR
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

condition question

2008-02-06 Thread Z W
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