Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 78596 invoked from network); 23 Jul 2004 19:38:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Jul 2004 19:38:17 -0000 Received: (qmail 26135 invoked by uid 500); 23 Jul 2004 19:37:50 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 25994 invoked by uid 500); 23 Jul 2004 19:37:49 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 25792 invoked by uid 99); 23 Jul 2004 19:37:48 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [63.98.209.140] (HELO egateway.symyx.com) (63.98.209.140) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 23 Jul 2004 12:37:44 -0700 Received: from XENA2000.symyx.com (xena2000.symyx.com [172.16.13.202]) by egateway.symyx.com (8.12.9/8.12.9) with ESMTP id i6NJbdtc022915 for ; Fri, 23 Jul 2004 12:37:39 -0700 (PDT) Received: from XENA2000.symyx.com ([172.16.13.202]) by XENA2000.symyx.com with InterScan Messaging Security Suite; Fri, 23 Jul 2004 12:37:34 -0700 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Subject: Getting directory information from Date: Fri, 23 Jul 2004 12:37:34 -0700 Message-ID: <434B90BC7B0F2C45945D653A6B4C5F390531EBD6@xena2000.symyx.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Getting directory information from Thread-Index: AcRw5BzEnDXm0weJRXq4ud2m4OeTwgAB0JoA From: "Alan Brown" To: "Ant Users List" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I have a target that I want to run against each directory in a directory tree that contains .xml files. seems like the right way to do this, using the genericAntFile attribute. However, I am then calling a custom ant task that requires, as one of its parameters, the directory name that so that it can name a resulting file by that name. If I was to hard code the directory names in the subant task this would be easy, but as I need to have this work dynamically on any directories that contain .xml files, I need to have some way to calculate the directory name. I could even potentially do it in the custom ant task, but how can I know the directory the subant file is currently being run against? alan =3D=3D=3D=3D=3D=3D=3D Notice: This e-mail message, together with any attachments, contains=0D information of Symyx Technologies, Inc. that may be confidential,=0D proprietary, copyrighted, privileged and/or protected work product,=0D and is meant solely for the intended recipient. If you are not the=0D intended recipient, and have received this message in error, please=0D contact the sender immediately, permanently delete the original and=0D any copies of this email and any attachments thereto. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org