tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pannar <>
Subject Re: Is it possible to handle exception on ant build?
Date Thu, 28 Oct 2010 10:28:39 GMT

I am new to this forum. Please move redirect me to ant users forum with this

I would like to know whether there is any attribute like failOnerror=true on
javac tab on the build.xml to avoid deleting the web.xml when the javac
compilation fails. Hope you have read my build.xml file. 

Konstantin Kolinko wrote:
> 2010/10/28 pannar <>:
> 1. Your question is about usage of a product, not about developing it.
> It must be asked on the appropriate users@ mailing list. It is
> offtopic on dev@.
> 2. Your question is about Apache Ant. That project lives at
>  Look for manuals and support options there.
> Offtopic: I think that there are a lot of options to solve your
> problem. E.g.: 1) check return value (aka exit code) of Ant, 2) use
> failonerror="false" and errorProperty attributes on the javac task
> Best regards,
> Konstantin Kolinko
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Tomcat - Dev mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message