Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 59177 invoked from network); 13 Dec 2001 22:48:40 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 13 Dec 2001 22:48:40 -0000 Received: (qmail 14490 invoked by uid 97); 13 Dec 2001 22:48:33 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 14480 invoked by uid 97); 13 Dec 2001 22:48:32 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 4521 invoked from network); 13 Dec 2001 22:16:28 -0000 To: ant-user@jakarta.apache.org Subject: using fileset to generate a list of directories From: dnc@bigfoot.com Date: 13 Dec 2001 14:17:03 -0800 Message-ID: Lines: 49 User-Agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I'm trying to use ant's wildcard functions to add several directories to a classpath. It seems that the fileset operation finds only files, and will not find directories. More specifically, I'm working with a product which could have classes installed in any number of "package" directories (in this product, "package" does not refer to a Java package). I want to include all the classes directories in my classpath. For instance, under the product's main directory, I might have... packages/A/code/classes/... packages/B/code/classes/... etc... I tried using the following path tags to get all the classes directories But none of the directories are included in the path, because fileset only finds files. I know the fileset in general works, because each package can also contain a code/jars/ directory, and the following path does include all the .jar files found therein. So, my question is, is there an easy way to find all my code/classes directories? Or do I have to explicitly list each one of them? Is FileSet designed to work this way? Would it make sense to make a new operation, DirectorySet? Or add a parameter to FileSet, i.e. includeDirectories="true"? I'd appreciate if you CC dnc@bigfoot.com on any replies. Thanks. -Dave -- To unsubscribe, e-mail: For additional commands, e-mail: