Re: Retry task container pt2

2007-05-17 Thread Stefan Bodewig
On Thu, 17 May 2007, Steve Loughran <[EMAIL PROTECTED]> wrote: > its probably simpler if you only handle one nested task (rather than > a sequence), as people may have more expectations of rollback in > such a situation. A single task is enough anyway since people can always use as the nested ta

Re: Retry task container pt2

2007-05-17 Thread Matt Benson
t; > wrote: > > > > --- Peter Reilly <[EMAIL PROTECTED]> > wrote: > > > > > I think that we should wait for the ant 1.7.1 > branch > > > to > > > be made. > > > > > > The retry task container is similar to > containers in >

Re: Retry task container pt2

2007-05-17 Thread Peter Reilly
AIL PROTECTED]> wrote: --- Peter Reilly <[EMAIL PROTECTED]> wrote: > I think that we should wait for the ant 1.7.1 branch > to > be made. > > The retry task container is similar to containers in > ant-contrib (limit, outofdate, for and if). > > There is actu

Re: Retry task container pt2

2007-05-17 Thread Matt Benson
--- Peter Reilly <[EMAIL PROTECTED]> wrote: > I think that we should wait for the ant 1.7.1 branch > to > be made. > > The retry task container is similar to containers in > ant-contrib (limit, outofdate, for and if). > > There is actually a task called "rel

Re: Retry task container pt2

2007-05-17 Thread Peter Reilly
I think that we should wait for the ant 1.7.1 branch to be made. The retry task container is similar to containers in ant-contrib (limit, outofdate, for and if). There is actually a task called "relentless" that executes a sequence of nested tasks, retrying the sequence until all the

Re: Retry task container pt2

2007-05-17 Thread Steve Loughran
Kevin Jackson wrote: Hi all, Does anyone object to adding a retry task container to ant core? I've made a few alterations to the code I attached to the previous email. The only worry I have is if it's too 'workflowy', if you know what I mean. I'm happy-ish with it.

Retry task container pt2

2007-05-17 Thread Kevin Jackson
Hi all, Does anyone object to adding a retry task container to ant core? I've made a few alterations to the code I attached to the previous email. The only worry I have is if it's too 'workflowy', if you kn

Re: Retry task container

2007-05-14 Thread Kevin Jackson
On 5/12/07, Kevin Jackson <[EMAIL PROTECTED]> wrote: > noRetries as in "Number Of Retries" or "No retries"??? good point, retry count is indeed much clearer, thank you. How about retrycount instead? --DD PS: I second all comments made so far. could live in Ant-Contrib too, rather than Ant

Re: Retry task container

2007-05-14 Thread Steve Loughran
Dominique Devienne wrote: On 5/12/07, Kevin Jackson <[EMAIL PROTECTED]> wrote: noRetries as in "Number Of Retries" or "No retries"??? How about retrycount instead? --DD PS: I second all comments made so far. could live in Ant-Contrib too, rather than Ant. PPS: If had additionally a condi

Re: Retry task container

2007-05-14 Thread Dominique Devienne
On 5/12/07, Kevin Jackson <[EMAIL PROTECTED]> wrote: noRetries as in "Number Of Retries" or "No retries"??? How about retrycount instead? --DD PS: I second all comments made so far. could live in Ant-Contrib too, rather than Ant. PPS: If had additionally a condition to satisfy before it e

Re: Retry task container

2007-05-14 Thread Steve Loughran
Jeffrey E Care wrote: How do you signal a task to clean up after itself after a failed attempt? yes, you need a clause, which makes rollback that much harder. SmartFrog's life is easier as there all components have an sfTerminate() operation that is called for them to clean up (or do a best

Re: Retry task container

2007-05-14 Thread Jeffrey E Care
& Development "Kevin Jackson" <[EMAIL PROTECTED]> 05/13/2007 12:32 AM Please respond to "Ant Developers List" To "Ant Developers List" cc Subject Retry task container Hi all, Looking through the bugzilla I came across, #28736 requesting a retry attrib

Re: Retry task container

2007-05-14 Thread Steve Loughran
Kevin Jackson wrote: Hi all, Looking through the bugzilla I came across, #28736 requesting a retry attribute for the ftp task. I thought instead that a generic Retry task container may be useful. I've quickly thrown this together and first tests (using get) seem to be fine, does anyone ha

Re: Retry task container

2007-05-12 Thread Paul King
e but might be useful to allow it. Cheers, Paul. Kevin Jackson wrote: Hi all, Looking through the bugzilla I came across, #28736 requesting a retry attribute for the ftp task. I thought instead that a generic Retry task container may be useful. I've quickly thrown this together and first te

Retry task container

2007-05-12 Thread Kevin Jackson
Hi all, Looking through the bugzilla I came across, #28736 requesting a retry attribute for the ftp task. I thought instead that a generic Retry task container may be useful. I've quickly thrown this together and first tests (using get) seem to be fine, does anyone have an objection to a