Pete,

Yes, from your point - it doesn't really make sense. But if you take some
time and have a look at my new task wait, you can see the reason why.

<wait for="3600000" failonerror="yes">
        <waitStatus every="600000">
                <echo>current build is still working [Msg Nr. 1]</echo>
        </waitStatus>
        <available file="inhibit" failonerror="yes" not="yes"
property="unimportant">
        <available file="enable" failonerror="yes" property="unimportant">
</wait>

Regards
Thomas

> -----Urspr�ngliche Nachricht-----
> Von: Peter Donald [mailto:[EMAIL PROTECTED]
> Gesendet am: Montag, 5. Februar 2001 00:32
> An: [EMAIL PROTECTED]
> Cc: Ant-Dev
> Betreff: Re: [PATCH] Available
>
> Hi,
>
> At 05:48  4/2/01 +0100, Thomas Christen wrote:
> >Did some enhancement to the task Available :
> >
> >- It now supports a negative Option (reverse Phrase to NOT Available) as
> >well.
>
> Could you explain where this is useful and not possible with what we
> already have. Usually when I want a not I do something like
>
> <available property="foo-property" classname="org.biz.MyClass" />
>
> <target name="foo-target-with-not" unless="foo-property" />
> <target name="foo-target-without-not" if="foo-property" />
>
> Cheers,
>
> Pete
>
> *-----------------------------------------------------*
> | "Faced with the choice between changing one's mind, |
> | and proving that there is no need to do so - almost |
> | everyone gets busy on the proof."                   |
> |              - John Kenneth Galbraith               |
> *-----------------------------------------------------*
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

Reply via email to