ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Abley <james.ab...@volantis.com>
Subject Re: Does this work with Ant?
Date Thu, 15 Feb 2007 15:36:14 GMT
Steve Loughran wrote:
> Mark Modrall wrote:
>> Just did something similar to this using antcall and recursion.  One
>> routine to check/wait for a windows service to reach a desired state and
>> another to check/wait for files in a directory to reach a certain state.
>>
>> The routines being called invoke the <sleep> and the conditions for
>> early exit, the caller specifies how many times (max) to call.
>>
>> It's a little convoluted but can be done without extending ant.
>>
>> Thanks
>> -Mark
>>
>>
>>
>>
>>  
>> This e-mail message, and any attachments, is intended only for the use 
>> of the individual or entity identified in the alias address of this 
>> message and may contain information that is confidential, privileged 
>> and subject to legal restrictions and penalties regarding its 
>> unauthorized disclosure and use. Any unauthorized review, copying, 
>> disclosure, use or distribution is strictly prohibited. If you have 
>> received this e-mail message in error, please notify the sender 
>> immediately by reply e-mail and delete this message, and any 
>> attachments, from your system. Thank you.
>> -----Original Message-----
>>
>> From: Keith Hatton [mailto:khatton@axiomsystems.com] Sent: Wednesday, 
>> February 14, 2007 10:14 AM
>> To: Ant Users List
>> Subject: RE: Does this work with Ant?
>>
>> It sounds like a combination of <waitfor> and <fail> might meet your
>> basic requirements, though you may have to provide your own condition
>> implementation depending on what "the task" is.
>> http://ant.apache.org/manual/index.html
>>
> 
> I have a <failingwaitfor> custom task for this

I'm very happy for you!

Any plans to share it - is it part of Smartfrog, or the upcoming book, etc?

James

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message