ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Christen" <...@active.ch>
Subject AW: [PATCH] Available
Date Mon, 05 Feb 2001 18:24:24 GMT
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:donaldp@apache.org]
> Gesendet am: Montag, 5. Februar 2001 00:32
> An: ant-dev@jakarta.apache.org
> 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: ant-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: ant-dev-help@jakarta.apache.org
>


Mime
View raw message