list.add( new File( files[j] ) );
String path = files[j]; File file = new File( basedir, path ); list.add( file );
    private File[] getTypes()    {        if( m_filesets.size() == 0 )        {                     File classes = getContext().getClassesDirectory();            return getTypes( classes );        }        else        {            ArrayList list = new ArrayList();            Project project = getProject();            FileSet[] filesets = (FileSet[]) m_filesets.toArray( new FileSet[0] );            for( int i=0; i < filesets.length; i++ )            {                FileSet fileset = filesets[i];                DirectoryScanner ds = fileset.getDirectoryScanner( project );                String[] files = ds.getIncludedFiles();                for( int j=0; j < files.length; j++ )                {                    list.add( new File( files[j] ) );                }            }            return (File[]) list.toArray( new File[0] );        }    }