Few tasks have a failonerror attribute, but a more generic solution exists with the <trycatch> task of ant-contrib (http://sf.net/projects/ant-contrib). Regards, --DD
-----Original Message----- From: Andrew van Renen [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 5:58 AM To: [EMAIL PROTECTED] Subject: how to ignore errors How do I tell Ant to ignore any errors caused by running a particular function? For instance, before pulling new code down from Sourcesafe, I want to zip up the target directory and then clear it out. But Ant dies if the target directory does not exist when I try to zip it up. Is there a standard mechanism for bypassing errors? I am new to Ant, so excuse me if this a basic thing that I have missed. By the way, at what point does Ant qualify as a scripting language in its own right? _________________________________________________________________ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
