Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 63682 invoked by uid 500); 16 Oct 2001 05:50:16 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 63673 invoked from network); 16 Oct 2001 05:50:16 -0000 From: "Mark Ayad" To: Subject: passing filename to task class Date: Tue, 16 Oct 2001 07:52:39 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 In-Reply-To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi All I would like to set up a file filter to find all the files in a directory ending in .html. For each file found, the filename is passed to my own task class. Im just wondering how to explicitly pass the filename + 'path' using one of the task classes accessors. I'm sure someone had done this before, and I thinks it would make an excellent example for the documentation. Since This is day 1/2 using Ant (can't quite believe why I didn't try it before!) Thanks Mark