ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Meals" <tme...@intraware.com>
Subject Re: [antlist] custom task - how to pass *.java filenames
Date Tue, 31 Jul 2001 17:51:04 GMT
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:tmeals@intraware.com
fax:      925-253-4599               http://www.intraware.com
operator: 925-253-4500        Intraware ... Control Your Technology



Mime
View raw message