Thank you Stefan.  That compiled.
Now i need to edit the properties file.
Would you recommend declaring a custom task in a default.properties file, or
using a taskdef in a team environment?

The former requires all team members to check out the properties file in a
new ant.jar file, whereas the latter doesn't.
Is it possible to have a default.properties file in another directory or
${basedir} ?

T Master

----- Original Message -----
From: "Stefan Bodewig" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 07, 2001 11:45 PM
Subject: Re: developing custom task - DirectoryScanner help needed


> On Tue, 7 Aug 2001, T. Master <[EMAIL PROTECTED]> 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
>

Reply via email to