ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: capturing javac failing
Date Fri, 10 Nov 2000 10:19:46 GMT
Stuart Barlow <sbarlow@peopledoc.com> wrote:

> I want to send a mail if the javac task fails in my ant based build.
> Is this possible?

Yes, using a BuildListener, it might be a little bit tricky
though. Let me see, if Jyve works today, yes:

See
<http://jakarta.apache.org/jyve-faq/Turbine/screen/DisplayQuestionAnswer/action/SetAll/project_id/2/faq_id/16/topic_id/196/question_id/741>
for a start.

You'll probably want to track which task is currently running to see
whether it was a javac task that caused the BuildException if there is
one.

Stefan

Mime
View raw message