Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 76681 invoked by uid 500); 8 Aug 2001 05:45:18 -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 76672 invoked from network); 8 Aug 2001 05:45:18 -0000 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: ant-user@jakarta.apache.org Subject: Re: developing custom task - DirectoryScanner help needed References: <124801c11f7d$1fb9fc20$8b00000a@TariqM> From: Stefan Bodewig Date: 08 Aug 2001 07:45:23 +0200 In-Reply-To: "T Master"'s message of "Tue, 7 Aug 2001 14:11:20 -0600" Message-ID: Lines: 11 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Tue, 7 Aug 2001, T. Master wrote: > The method call to obtain the DirectoryScanner requires a Project. > Where should this be instantiated or referenced from? If your task extends Task, you'll have access to the current project instance via the protected project member - this happens as step 2 in the "The Life-cycle of a Task" section of the "Developing with Ant" page in Ant's manual. Stefan