ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [Patch] keep-alive feature
Date Wed, 09 Jul 2003 06:47:26 GMT
On 08 Jul 2003, peter reilly <peter.reilly@corvil.com> wrote:
> On Tue, 2003-07-08 at 16:06, Stefan Bodewig wrote:

>> What would you want to see happen with keep-alive enabled and
>> failonerror set to true on an <exec> task.  What will happen if the
>> execution fails?
> 
> In this the rest of the tasks in the target would not be run, and
> the next target would be started.

OK, I shouldn't have spoken without reading the proposal then 8-)

keep-alive to me doesn't imply skip the remaining tasks from the same
target when one task fails.  To me it meant that all tasks would be
executed, even if a previous task had failed.

What you describe might then be best covered by fail-on-error at the
target level.  fail-on-error would be true for the tasks inside the
target, but the target itself would swallow the BuildException.

Stefan


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


Mime
View raw message