Look at extending org.apache.tools.ant.taskdefs.MatchingTask. All the code to
do nested filesets/includes is already there. You'll need to iterate through
the filesets once you get execute() called. Take a look at how JAR/Zip work, or
any task that has filesets.
Tim
T Master wrote:
> I'm starting to write my own custom task (oooooh) as a wrapper around
> JavaNCSS.
>
> I want to be able to pass all the *.java names to my task.
> I'm thinking I should have my custom task allow a nested fileset (along with
> patternset).
>
> How would I pass this to my task? Would it be a String[] of the actual
> *.java filenames?
>
> All comments appreciated, and thanks in advance.
>
> T Master
--
Tim Meals
Web Applications Developer
mailto:[EMAIL PROTECTED]
fax: 925-253-4599 http://www.intraware.com
operator: 925-253-4500 Intraware ... Control Your Technology