Upayavira wrote:
> >
> To be honest, I hadn't got my head around how to handle error 
> conditions within the task. Maybe it should throw a 
> BuildException, but as you observed, I didn't quite know what 
> to do with this error - my Ant knowledge was too shaky (and 
> stil is) to work out exactly what to do. Do you have any 
> ideas of the best way to handle error reporting here?
> 
Hmm, I'm not an Ant expert, but in the tasks I wrote I always
simple threw an exception. In some cases I logged the error
using the Ant logging mechanism as well.

Carsten

Reply via email to