The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

XML::Ant::BuildFile::Project::FileList - file list node within an Ant build file

VERSION

version 0.202

SYNOPSIS

    use XML::Ant::BuildFile::Project;

    my $project = XML::Ant::BuildFile::Project->new( file => 'build.xml' );
    for my $list_ref (@{$project->file_lists}) {
        print 'id: ', $list_ref->id, "\n";
        print join "\n", @{$list_ref->files};
        print "\n\n";
    }

DESCRIPTION

See XML::Ant::BuildFile::Project for a complete description.

ATTRIBUTES

project

Reference to the XML::Ant::BuildFile::Project at the root of the build file containing this file list.

id

id attribute of this file list.

directory

Path::Class::Dir indicated by the <filelist> element's dir attribute with all property substitutions applied.

files

Reference to an array of Path::Class::Files within this file list with all property substitutions applied.

METHODS

properties

Properties hash reference for the build file.

BUGS

Please report any bugs or feature requests on the bugtracker website http://github.com/mjgardner/XML-Ant-BuildFile/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Mark Gardner <mjgardner@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by GSI Commerce.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.