ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Inger <ma...@sedonacorp.com>
Subject Re: [antlist] custom task - how to pass *.java filenames
Date Wed, 01 Aug 2001 15:29:48 GMT
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
>
add the following to your task:


private Vector filesets = new Vector();

public void addFileset(FileSet set)
{
    filesets.addElement(set);
}





Mime
View raw message