ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: developing custom task - DirectoryScanner help needed
Date Wed, 08 Aug 2001 05:45:23 GMT
On Tue, 7 Aug 2001, T. Master <tmaster@iknowledgeinc.com> 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

Mime
View raw message