Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 96540 invoked from network); 10 Mar 2003 19:24:32 -0000 Received: from mailbo.westgroup.com (167.68.0.71) by daedalus.apache.org with SMTP; 10 Mar 2003 19:24:32 -0000 Received: from morley.int.westgroup.com (localhost.localdomain [127.0.0.1]) by mailbo.westgroup.com (8.12.8/8.12.8) with ESMTP id h2AJOOtU011206 for ; Mon, 10 Mar 2003 13:24:24 -0600 Received: from eg-msgimc-b10.int.westgroup.com (eg-msgimc-b10.int.westgroup.com [163.231.96.24]) by morley.int.westgroup.com (8.12.8/8.12.8) with ESMTP id h2AJODjk011105 for ; Mon, 10 Mar 2003 13:24:13 -0600 Received: by eg-msgimc-b10.int.westgroup.com with Internet Mail Service (5.5.2656.59) id ; Mon, 10 Mar 2003 13:24:13 -0600 Message-ID: <73EBE0A5AC2ED51196090003473A814E04597C63@eg-msgmbx-b08.int.westgroup.com> From: "Lee, Michael.M" To: "'Ant Users List'" Subject: RE: Error proof Ant Task Date: Mon, 10 Mar 2003 13:24:13 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N isn't there any tasks build in ANT standard library? if not, how hard/easy is it to install antelope? Thanks for your super quick reply!! P.s. the link on the bottom did not work. however, i just searched antelope in sourceforge.net and found the link~ thanks~~ Michael. -----Original Message----- From: David McTavish [mailto:dmctavish@SANDVINE.com] Sent: Monday, March 10, 2003 1:14 PM To: 'Ant Users List' Subject: RE: Error proof Ant Task or, you could use the try/catch/finally tasks from antelope, which sounds more in line with what you are trying to do (make a transactional action in ant). www.sourceforge.net/antelope d. easy to use as well: d. -----Original Message----- From: Lee, Michael.M [mailto:Michael.M.Lee@westgroup.com] Sent: Monday, March 10, 2003 2:12 PM To: 'Ant Users List' Subject: Error proof Ant Task I have a target in my script that mounts the network drive. It can be unmounted at the end of the script. However, once the build fails, it never gets to unmount the drive. So if i try to run it next time, it gives an error because the network drive is already in the system and cannot mount it twice. so here is my question. is it possible to write an ant task so that it checks whether there is a mounted drive or not, and if there is, unmount it first, otherwise, just go to next task? thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org