Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 32212 invoked by uid 500); 2 May 2001 23:04:22 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 31917 invoked from network); 2 May 2001 23:03:55 -0000 X-Mail-Server: Eserv/2.95/Digital Innovations Pty Ltd Message-Id: <5.0.2.1.0.20010503085557.00ad7ec0@dual> X-Sender: robert@dual X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 03 May 2001 09:03:09 +1000 To: ant-user@jakarta.apache.org From: Robert Leftwich Subject: Making copy task not fail Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Is it possible to make the copy task not fail if the source directory is not present ? The reason I ask is that I have a (somewhat) generic task that is called in a number of places and in one or two the source directory is not present. One option is to break the task into 2 pieces (which would make 1 truly generic :-) and have the other use if="source.present" where source.present is set by available. This seems slightly long-winded and hence the question. TIA Robert