ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "martin sweitzer" <msewli...@gmail.com>
Subject Re: target timeout
Date Thu, 04 Jan 2007 22:03:42 GMT
On 12/22/06, martin sweitzer <msewlists@gmail.com> wrote:
> On 12/22/06, Gilbert Rebhan <ant@schillbaer.de> wrote:
> > Hi,
> >
> > martin sweitzer wrote:
> > > Is there a way to have a timeout associated with a <target>?
> > > I would like to put an upper bound on the time a target can run.   I
> >
> > you can go with the <limit> task from antcontrib
> >
> > see = http://ant-contrib.sourceforge.net/tasks/tasks/limit_task.html
> >
>
> Ahh sweet!  Just another layer of indirection and we are styling once more! :-)
>

Well one side effect is that you need to manually make certain the
depends="" are not duplicated.   Otherwise you get multiple calls to
that target from your antcalls :-(

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


Mime
View raw message