<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    XML::Ant::BuildFile::Project - consume Ant build files

VERSION
    version 0.202

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

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

DESCRIPTION
    This class uses XML::Rabbit to consume Ant build files using a Moose
    object-oriented interface.

ATTRIBUTES
  file
    On top of XML::Rabbit's normal behavior, this class will also coerce
    Path::Class::File objects to the strings expected by
    XML::Rabbit::Role::Document.

  name
    Name of the Ant project.

  filelists
    Array reference of XML::Ant::BuildFile::Project::FileLists.

  targets
    Array reference of target names from the build file.

  properties
    Read-only hash reference to properties set by the build file. This also
    contains the following predefined properties as per the Ant
    documentation:

    os.name
    basedir
    ant.file
    ant.project.name

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 &lt;mjgardner@cpan.org&gt;

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.

</pre></body></html>