Bug 52375 - Track number of failures in keep-going mode
Summary: Track number of failures in keep-going mode
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core (show other bugs)
Version: nightly
Hardware: PC Linux
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-20 14:58 UTC by Guido Leenders
Modified: 2012-01-12 15:41 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Leenders 2011-12-20 14:58:06 UTC
Since version 1.6 we can use -keep-going. This allows the build to go on after the first error, thereby making a full list of possible issues.

For our scenario (build.xml of 5K lines) we would like to determine at the end of the build whether ALL tasks until a specific point have been executed.

To memorize success or failure for one task, you can simply set a property for each task.

For ALL tasks until a specific point, I would like to be able to query something like ${ant.error.cnt} with the number of errors occurred so far.

If functionally ok, I think it could be added in *Executor.java when the exception is handled.
Comment 1 Stefan Bodewig 2012-01-12 15:41:30 UTC
I can see how such a feature could be useful.