ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Master" <>
Subject Re: developing custom task - DirectoryScanner help needed
Date Wed, 08 Aug 2001 16:12:39 GMT
Thank you Stefan.  That compiled.
Now i need to edit the properties file.
Would you recommend declaring a custom task in a 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 file in another directory or
${basedir} ?

T Master

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

> 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

View raw message