Ashwitha has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, I need to know is there a way to generate Ant XML file using perl script.

Replies are listed 'Best First'.
Re: Ant XML
by Old_Gray_Bear (Bishop) on Sep 23, 2014 at 05:58 UTC
    Yes there is, use one of the XML modules from CPAN. From the Doc:
    Apache Ant's buildfiles are written in XML. Each buildfile contains one project and at least one (default) target. Targets contain task elements. Each task element of the buildfile can have an id attribute and can later be referred to by the value supplied to this. The value has to be unique.

    Update: And, in fact there is a module in CPAN that you might want to investigate: XML:Ant:Properties

    ----
    I Go Back to Sleep, Now.

    OGB