Just a note.

These days it is probably better not to extend MatchingTask but just add a
createFileset method so that the task can take any number of filesets.

Conor

----- Original Message -----
From: "Diane Holt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 30, 2001 12:16 PM
Subject: Re: Writing a new Task


> --- "O'Hara, Patrick" <[EMAIL PROTECTED]> wrote:
> > I have a java application that will create an MD5 digest for all file
> > under a given directory.  I would like to make this an ANT Task.  I am
> > looking for docs on the steps necessary to create an ANT Task and in
> > particular how to deal with filesets.
>
> As a starting point, read the "Developing with Ant" section of the user
> manual. But I think you'll probably need to extend MatchingTask rather
> than Task if you're going to be allowing for filesets, so you should look
> through the source-files in org/apache/tools/ant/taskdefs for other tasks
> that use filesets as examples of how to do that.
>
> Diane
>
> =====
> ([EMAIL PROTECTED])
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year!  http://personal.mail.yahoo.com/
>

Reply via email to