Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#462 Put error message in failureProperty

release_4.4
closed
Oliver Burn
Check (274)
5
2012-10-10
2007-05-25
Gilles Scokart
No

When failureProperty is defined in the ant task, and there is a failure, it would nice to set an error message in the property.

For example, when you fail directly, ant print a message like that "Got 412 errors and 2 warnings". I would like to be able to use the same message using :

<fail if="checkstyle.failure">CHECKSTYLE FAILURE : ${checkstyle.failure}</fail>

after I have processed the xsl to present the report.

Discussion

  • Oliver Burn
    Oliver Burn
    2007-06-04

    Logged In: YES
    user_id=218824
    Originator: NO

    Changes implemented in CVS, will be part of the next release.