----- Original Message -----
From: "Glenn McAllister" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 19, 2001 6:32 PM
Subject: Re: <available> problem


> Vincent Massol wrote:
>
> > The result is that the "atarget" target gets executed. I would have
> > preferred it *not* to be executed as the servlet jar does not exist (the
> > value is ""). Is that a normal behaviour ? If so, can it be changed or
is
> > there a good reason for it ?
>
> The if attribute doesn't check the value of the property, it simply checks
if
> it exists.  Since you have assigned an empty string to the property, it
exists.
>

Yes, you're right for the "if" attribute. I was more concerned about the
<available> task. It shouldn't define the property if the file cannot be
found, right ? Or am I missing something ...

> Glenn
>
>
thanks
Vincent

Reply via email to