ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From otisg <>
Subject nested conditions?
Date Fri, 13 Sep 2002 17:14:28 GMT

I'm trying to get this to work, but it
doesn't looks like it's working.  I'm using
Ant 1.5.

            Error Codes: ${retValSeg1},
        <condition property="hasError>
arg1="${retValSeg1}" arg2="0"/>
arg1="${retValSeg2}" arg2="0"/>

I am simply trying to say:
If retValSeg1 is NOT zero AND retValSeg2 is
NOT zero, set hasError property.

According to the Ant Manual and description
of 'and', this should work.
The echo shows that the codes are non-zero.
That is, the retValSeg1 IS zero, but
retValSeg2 is 8.

What am I doing wrong?  How should I rewrite


Get your own "800" number
Voicemail, fax, email, and a lot more

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message