Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 50901 invoked from network); 2 Mar 2003 03:22:34 -0000 Received: from unknown (HELO ns1.rmstreet.com) (202.187.239.2) by daedalus.apache.org with SMTP; 2 Mar 2003 03:22:34 -0000 Received: from server2.patimas.com ([10.1.10.9]) by ns1.rmstreet.com (8.12.7/8.12.7) with ESMTP id h223Mc9s017373 for ; Sun, 2 Mar 2003 11:22:39 +0800 (MYT) Received: from philip ([202.188.212.121]) by server2.patimas.com (Lotus Domino Release 5.0.9a) with ESMTP id 2003030211311986:13423 ; Sun, 2 Mar 2003 11:31:19 +0800 Reply-To: From: "Philip Lo" To: Subject: Howto search for file then call exec on each on them Date: Sun, 2 Mar 2003 11:22:43 +0800 Organization: EIX Solutions Sdn. Bhd. Message-ID: <004101c2e06a$fe38b680$0801a8c0@philip> MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-MIMETrack: Itemize by SMTP Server on Server2/PatimasComp(Release 5.0.9a |January 7, 2002) at 03/02/2003 11:31:20 AM, Serialize by Router on Server2/PatimasComp(Release 5.0.9a |January 7, 2002) at 03/02/2003 11:31:21 AM, Serialize complete at 03/02/2003 11:31:21 AM Content-Type: multipart/alternative; boundary="----=_NextPart_000_0042_01C2E0AE.0C5BF680" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0042_01C2E0AE.0C5BF680 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" I'm new to Ant. How can I search for a set of files within a directory with an extension .jsp and then use the task to act on each of the file. Basically, I want to search for all JSP files within my WAR directory then call the JSP compiler and supply the path of JSP file as 1st argument. Thanks in advance. regards, Philip ------=_NextPart_000_0042_01C2E0AE.0C5BF680--