Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 76113 invoked from network); 18 Nov 2008 09:17:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Nov 2008 09:17:14 -0000 Received: (qmail 1142 invoked by uid 500); 18 Nov 2008 09:17:16 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 1098 invoked by uid 500); 18 Nov 2008 09:17:16 -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 1087 invoked by uid 99); 18 Nov 2008 09:17:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Nov 2008 01:17:15 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rohitmp.for@gmail.com designates 72.14.204.175 as permitted sender) Received: from [72.14.204.175] (HELO qb-out-1314.google.com) (72.14.204.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Nov 2008 09:15:54 +0000 Received: by qb-out-1314.google.com with SMTP id f15so2662999qba.22 for ; Tue, 18 Nov 2008 01:16:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=7G9myO632HpCIbJ2R3fCrwdJwkJfJrNK+hcRAA2H9DM=; b=egj79YK3bR+el8+lZRYTffYGrwdbtXWSbFRPwAev9I0cL5OxtEa8mMtnh6O/uW1jxX 6T2Z8IBe4WbFkERVAy3xrbt67sI8nz/Low7KhdQ2GVTj0v4cZC09+6HyIwUqh4Nk5Ow3 86/1fjpT5HcjNHKPEKpOX+/QC5rKU7zs/SAe0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=UVgqO+d6ZWJAjQOrf2AOndau68Jc6Dcd3cFmc5wXyh6NOi4V59kikj68SznxRbrlzS WvQXYkJrFiiuxIygVkZE4MpYE9kg8fKiwsCeyfrcVlINnFBsOBq7+b/xH7Xz3VxEbqSQ ONEbnSik6szYNuiYWGE4YP+gQAHZmSlp1r6rQ= Received: by 10.142.50.15 with SMTP id x15mr2487350wfx.323.1226999788425; Tue, 18 Nov 2008 01:16:28 -0800 (PST) Received: by 10.142.226.21 with HTTP; Tue, 18 Nov 2008 01:16:28 -0800 (PST) Message-ID: <1b8d16a50811180116t2bba5de5rf698b7f136fd49bc@mail.gmail.com> Date: Tue, 18 Nov 2008 14:46:28 +0530 From: "Rohit P" To: "Ant Users List" Subject: Verifying existence of files under a directory MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_82892_24509409.1226999788427" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_82892_24509409.1226999788427 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, As part of my build script i need to 'concat' set of files [with similar extension] under a directory into a .csv file. ... ... ... ... ... ... But before i do the 'concat' action i need to verify if there are files under ${REPORTS_DIR}. Can you let me know the ways to check if *.csv files exist under ${REPORTS_DIR} before concatenating them into 'abc.csv'? Thanks Rohit ------=_Part_82892_24509409.1226999788427--