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::Role::HasProjects - Compose a collection of Ant build file projects

VERSION

version 0.202

SYNOPSIS

    package My::Package;
    use Moose;
    with 'XML::Ant::BuildFile::Role::HasProjects';

    sub frobnicate_projects {
        my $self = shift;
        $self->working_copy('/dir/to/search');
        print "Found these projects:\n";
        print "$_\n" for @{$self->project_files};
    }

    1;

DESCRIPTION

This Moose::Role helps you compose a collection of Ant project files found in a directory of source code. The directory is searched recursively for files ending in .xml, skipping any symbolic links as well as CVS and Subversion .svn directories.

ATTRIBUTES

working_copy

A Path::Class::Dir to search for "projects".

projects

Reference to an array of XML::Ant::BuildFile::Projects in the current working_copy directory.

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.