ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: Retry task container pt2
Date Thu, 17 May 2007 16:39:59 GMT
Actaully, I did not see the manual page ;-)
I just looked at the code - and misread it ....

It does not do what I said,
the task just ignores any failures until
the end and then throws an exception
if any failed.

I guess the name of the task confused me.

Peter


On 5/17/07, Matt Benson <gudnabrsam@yahoo.com> wrote:
>
> --- Peter Reilly <peter.kitt.reilly@gmail.com> 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 "relentless" that
> > executes a sequence of nested tasks, retrying the
> > sequence until all the tasks have succeeded.
> >
>
> Should I wonder why the manpage of <relentless> does
> not mention any retry capabilities?  :(
>
> -Matt
>
> >
> > Peter
> >
> >
> >
> > On 5/17/07, Steve Loughran <stevel@apache.org>
> > wrote:
> > > 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...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.
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > dev-unsubscribe@ant.apache.org
> > > For additional commands, e-mail:
> > dev-help@ant.apache.org
> > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > dev-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> > dev-help@ant.apache.org
> >
> >
>
>
>
>       ____________________________________________________________________________________
> Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo!
Auto Green Center.
> http://autos.yahoo.com/green_center/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>

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


Mime
View raw message