Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 91644 invoked from network); 7 Dec 2007 17:39:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Dec 2007 17:39:52 -0000 Received: (qmail 28935 invoked by uid 500); 7 Dec 2007 17:39:38 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 28908 invoked by uid 500); 7 Dec 2007 17:39:38 -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 28897 invoked by uid 99); 7 Dec 2007 17:39:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2007 09:39:38 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [207.69.200.40] (HELO pop06.mail.atl.earthlink.net) (207.69.200.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2007 17:39:16 +0000 Received: from nc-71-49-179-247.dhcp.embarqhsd.net ([71.49.179.247] helo=flossware.homelinux.org) by pop06.mail.atl.earthlink.net with esmtp (Exim 3.36 #1) id 1J0hAS-0000I4-00 for user@ant.apache.org; Fri, 07 Dec 2007 12:39:16 -0500 Received: from devserver.flossware.com (devserver.flossware.com [192.168.168.7]) by flossware.homelinux.org (Postfix) with ESMTP id AF86A10EF8F for ; Fri, 7 Dec 2007 12:39:15 -0500 (EST) Message-ID: <47598543.8000403@mindspring.com> Date: Fri, 07 Dec 2007 12:39:15 -0500 From: "Scot P. Floess" Reply-To: floess@mindspring.com User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: Ant Users List Subject: Re: ANT Question: How do I check for the presence of JAR files in a directory References: <54BC0922445A764A86074C5A6B005354035820CF@FPT-EXMB02.llbean.com> In-Reply-To: <54BC0922445A764A86074C5A6B005354035820CF@FPT-EXMB02.llbean.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Checkout resource collections...that may do what you want... someproperty will be set with the count if any jar files exist in somedir... Eric Wood wrote: > I'm want to set a property to check later on if there are any jar files > in a folder/directory. Available does quite seem right since I want to > wildcard for any jars. What is the best way to accomplish this task? > > Thanks for you help, Eric > > -- Scot P. Floess 27 Lake Royale Louisburg, NC 27549 252-478-8087 (Home) 919-754-4592 (Work) Chief Architect JPlate http://sourceforge.net/projects/jplate Chief Architect JavaPIM http://sourceforge.net/projects/javapim --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org