DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17572>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17572

Tomcat manager Ant tasks should support "failonerror" attribute





------- Additional Comments From [EMAIL PROTECTED]  2003-03-17 16:34 -------
We have run into a similar problem and have found a workaround.  Our problem is
that we want to make sure that a webapp is undeployed before it is deployed.  If
the webapp does not exist and is undeployed then ant will exit with 1.  You can
call the undeploy or stop task by doing a runtime exec from ant to call the
task.  This would cause any exception thrown to be ignored.

<exec executable="ant">
  <arg value="stop" />
</exec>

This would call the stop task from another process.If an exception is thrown it
will not stop the ant task.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to