Bug 31610 - [RFE][Patch] errorproperty attribute to <subant> task
Summary: [RFE][Patch] errorproperty attribute to <subant> task
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.7.0
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2004-10-09 05:33 UTC by Chad McHenry
Modified: 2009-07-31 05:43 UTC (History)
1 user (show)



Attachments
Add the "errorproperty" attribute to the <subant> task (2.50 KB, patch)
2004-10-09 05:38 UTC, Chad McHenry
Details | Diff
Patch for Ant 1.7.0 code (1.69 KB, patch)
2007-05-14 15:02 UTC, David Jackman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chad McHenry 2004-10-09 05:33:52 UTC
Set's the specified property to "true" in the event of an error building a
sub-project.  Modeled after same attribute in the junit task.

This allows me to to set failonerror="false" and complete the build, yet display
a final warning message. Otherwise, with numerous subant calls, error messages
from failed sub-projects can easily be lost in the output.
Comment 1 Chad McHenry 2004-10-09 05:38:04 UTC
Created attachment 13002 [details]
Add the "errorproperty" attribute to the <subant> task
Comment 2 David Jackman 2007-05-14 15:02:42 UTC
Created attachment 20198 [details]
Patch for Ant 1.7.0 code

This patches the code as of revision 538003 (14 May 2007) to add this
enhancement.