Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 12404 invoked from network); 27 Oct 2006 16:30:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Oct 2006 16:30:04 -0000 Received: (qmail 92455 invoked by uid 500); 27 Oct 2006 16:30:10 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 92422 invoked by uid 500); 27 Oct 2006 16:30:10 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 92406 invoked by uid 99); 27 Oct 2006 16:30:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Oct 2006 09:30:10 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of vegorov@bea.com designates 63.96.162.5 as permitted sender) Received: from [63.96.162.5] (HELO ussjmh01.bea.com) (63.96.162.5) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Oct 2006 09:29:58 -0700 Received: from ussjfe01.amer.bea.com (ussjfe01b.bea.com [172.16.120.57]) by ussjmh01.bea.com (Switch-3.2.2/Switch-3.2.2) with ESMTP id k9RGTB2Q030797 for ; Fri, 27 Oct 2006 09:29:35 -0700 Received: from repbex01.amer.bea.com ([10.160.26.98]) by ussjfe01.amer.bea.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 27 Oct 2006 09:29:25 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: a construct to ensure existence of files in collection? Date: Fri, 27 Oct 2006 09:29:15 -0700 Message-ID: <6E9C82D532D127439D866C04251827700293FE18@repbex01.amer.bea.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: a construct to ensure existence of files in collection? Thread-Index: Acb55QsC9Bh+UIEjQZyXaq89vX4Usg== From: "Vladimir Egorov" To: X-OriginalArrivalTime: 27 Oct 2006 16:29:25.0471 (UTC) FILETIME=[11007EF0:01C6F9E5] X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.4.0.264935, Antispam-Data: 2006.10.26.165432 X-Virus-Checked: Checked by ClamAV on apache.org Hi Ant Users, I am using FileList to specify collection of files one by one. I need to ensure that the specified files exist. According to FileList doc, "FileLists are useful for specifying files that may or may not exist". I checked some other path-like structures, but did not find a straight-forward way to do this. Is there something obvious I am missing? Any recommendations besides two approaches listed below? One approach is to enhance FileList with a 'failonerror' attribute, e.g. (also for individual ). Another approach is to provide an assert task for the same, e.g. (also for reference ). Thank you, --Vladimir _______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org